# account-security

account-security is a skill that teaches agents to protect Xiaohongshu accounts from hijacking and theft with strong passwords, 2FA, login monitoring, and recovery planning.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 168 installs · ★ 564 repo stars
- Author: vivy-yi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vivy-yi/xiaohongshu-skills/tree/HEAD/skills/05-平台规则/account-security/SKILL.md
- Updated: 2026-01-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/account-security

## What it does

Skill gives the agent knowledge of Xiaohongshu account protection. It covers creating a strong password (12+ characters, no personal data), enabling two-factor authentication via app or SMS, limiting access to trusted devices, and tracking activity.

Inside are five layers of defence: authentication (password + 2FA), access control (verified devices and networks only), login monitoring, recovery preparation (document proof of ownership), and team access management. The skill provides password checklists, password manager setup, 2FA instructions, and VPN recommendations for public networks. An anti-phishing section covers URL verification and suspicious link avoidance.

The skill suits accounts with an audience and content worth protecting. For new accounts with no followers, basic protection is enough.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill account-security -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/account-security/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/account-security/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill account-security -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/account-security/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill account-security -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/account-security/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vivy-yi/xiaohongshu-skills skills/05-平台规则/account-security
```

2. **Manually: put the files in place**
- File: `.github/skills/account-security/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill account-security -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/05-平台规则/account-security
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/account-security/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill account-security -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vivy-yi/xiaohongshu-skills/tree/HEAD/skills/05-平台规则/account-security/SKILL.md

## When to use it
- enable two-factor authentication in Xiaohongshu
- generate a strong password and store it in a manager
- track suspicious logins to an account
- set trusted devices and remove old ones
- prepare an account recovery plan after a breach

## Example prompts
- How do I turn on two-factor auth for a Xiaohongshu account?
- Show me a checklist for strong passwords
- How do I track logins and remove old devices from the trusted list?

## Similar
- [network-environment](https://affpapa.org/en/nevibecode/skills/network-environment.md) — skill · ★ 249 repo stars
- [guizang-social-card-skill](https://affpapa.org/en/nevibecode/skills/guizang-social-card-skill.md) — skill · 5600 installs
- [xiaohongshu-cover-generator](https://affpapa.org/en/nevibecode/skills/xiaohongshu-cover-generator.md) — skill · 1900 installs
- [xiaohongshu-cli](https://affpapa.org/en/nevibecode/skills/xiaohongshu-cli.md) — skill · 1400 installs
- [channel-portfolio-planner](https://affpapa.org/en/nevibecode/skills/channel-portfolio-planner.md) — skill · 1100 installs
- [xiaohongshu-auto-posting](https://affpapa.org/en/nevibecode/skills/xiaohongshu-auto-posting.md) — skill · 1 install

From the same set: [vivy-yi/xiaohongshu-skills](https://affpapa.org/en/nevibecode/by/vivy-yi/xiaohongshu-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
