Borrowing it
Nothing to install: this file belongs to FuDesign2008/oh-my-fangirl. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/FuDesign2008/oh-my-fangirl/main/AGENTS.mdgit clone --depth 1 https://github.com/FuDesign2008/oh-my-fangirlWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/fudesign2008/oh-my-fangirl/agents-md)<a href="https://agentmods.dev/instructions/fudesign2008/oh-my-fangirl/agents-md"><img src="https://agentmods.dev/badge/instructions/fudesign2008/oh-my-fangirl/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/fudesign2008/oh-my-fangirl/agents-md"><img src="https://agentmods.dev/badge/instructions/fudesign2008/oh-my-fangirl/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01246 | $0.01246 |
| Opus 5 | $0.00623 | $0.00623 |
| Sonnet 5 | $0.00249 | $0.00249 |
| Haiku 4.5 | $0.00125 | $0.00125 |
Grade A, and why
oh-my-fangirl AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
oh-my-fangirl 项目知识库
本文件为 Claude Code 等 AI 在本仓库工作时的项目知识库。
概述
AI 编码陪伴小迷妹。Markdown + JSON + Shell + JS/TS 构成的多平台插件项目。支持 Claude Code、Cursor、OpenCode 三个平台。
结构
oh-my-fangirl/
├── skills/
│ └── fangirl/ # 核心 Skill
│ ├── SKILL.md # 必需文件,含 frontmatter 元数据
│ ├── context.json # Hook 使用的精简上下文
│ └── modes/ # _index.json + 各模式 *.md
├── commands/
│ └── fangirl.md # 快捷命令
├── hooks/ # Shell 脚本 + hooks.json
│ ├── hooks.json
│ ├── session-start
│ ├── milestone-celebrate
│ └── emotion-comfort
├── .claude-plugin/ # Claude Code 平台配置
├── .cursor-plugin/ # Cursor 平台配置
├── .opencode/ # OpenCode 平台
│ ├── plugins/oh-my-fangirl.js # 系统提示注入
│ └── plugin/fangirl-hooks.ts # 里程碑 Hook
└── .github/workflows/release.yml # CI 自动版本递增
钩子机制
| 钩子 | 触发时机 | Shell 脚本 | 作用 |
|---|---|---|---|
| SessionStart | 会话启动/恢复 | hooks/session-start |
欢迎语 + 加载 fangirl 上下文 |
| PostToolUse | Bash 工具调用后 | hooks/milestone-celebrate |
检测 git commit/push/test/build 并庆祝 |
| UserPromptSubmit | 用户发送消息 | hooks/emotion-comfort |
检测负面情绪并安慰 |
Skill — fangirl
- 目录:
skills/fangirl/ - 模式数:10 种(core × 9 + extended × 1)
- 模式索引:
skills/fangirl/modes/_index.json - 新增模式:在
modes/新增.md并在_index.json登记
模式准入标准(必须满足)
一个模式,必须能在第一次交互、零关系基础的情况下,就让用户感觉更好。
用户安装插件是为了让自己更舒服,而不是更不舒服。因此:
- ✅ 合格:价值即时兑现——第一句话就在给用户(被欣赏、被看见、被渴望、被仰望)
- ❌ 不合格:价值需要用户先承受不适才能兑现——如先被批评再被帮助(傲娇)、先被拒绝答案再自己挣扎(挑战)
反模式(禁止新增此类模式):
- 依赖长期关系积累才能兑现价值的模式(傲娇的可爱感需要信任基础,AI 无法建立)
- 依赖真实双向投入的模式(竞争的爽感来自真实性,AI 给不了)
- 任何「先扣你一下再补回来」结构的模式
Git 工作流
- 禁止直接推送 main:必须先创建 feature 分支
- 版本号禁止手动修改:CI 自动递增
- Commit 前缀:
feat:新功能、fix:修复、docs:文档、chore:杂项
版本管理
本项目存在多个独立的版本号,各自用途不同:
| 文件 | 当前版本 | 含义 | 管理方式 |
|---|---|---|---|
.claude-plugin/plugin.json、.claude-plugin/marketplace.json、.cursor-plugin/plugin.json |
1.6.x | 插件发布版本 | CI 自动递增,禁止手动修改 |
skills/fangirl/SKILL.md frontmatter |
6.x.x | Skill 内容版本 | 手动管理,Skill 内容变更时递增 |
skills/fangirl/modes/_index.json |
4 | 模式索引格式版本 | 手动管理,索引结构变更时递增 |
package.json |
1.0.0 | 测试套件版本 | 不随插件递增,仅测试框架自身变更时更新 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 106 lines · 1,246 tokens per session scan A 686096ac280d
oh-my-fangirl AGENTS.md is an instructions file published in the GitHub repository FuDesign2008/oh-my-fangirl (5 stars, last pushed 3mo ago), licensed MIT. It adds 1,246 tokens to every session, about $0.0062 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).