Borrowing it
Nothing to install: this file belongs to southliu/south-admin-react. 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/southliu/south-admin-react/main/.agents/skills/init-project/SKILL.mdgit clone --depth 1 https://github.com/southliu/south-admin-reactWrote 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/skills/southliu/south-admin-react/init-project)<a href="https://agentmods.dev/skills/southliu/south-admin-react/init-project"><img src="https://agentmods.dev/badge/skills/southliu/south-admin-react/init-project/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/skills/southliu/south-admin-react/init-project"><img src="https://agentmods.dev/badge/skills/southliu/south-admin-react/init-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00083 | $0.00944 |
| Opus 5.5 | $0.00033 | $0.00378 |
| Sonnet 5.5 | $0.00017 | $0.00189 |
| Haiku 4.5 | $0.00008 | $0.00094 |
Grade A, and why
init-project 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 today.
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.
What it actually says
init-project
Description
初始化项目,丢弃模板自带的示例内容。该技能会调用 .Codex/skills/init-project/scripts/ 下的 Python 清理脚本,删除以下目标并连带清理代码中的引用:
- 页面:
src/pages/demo/、src/pages/content/ - 组件:
src/components/Github/ - 接口:
src/servers/content/ - 静态菜单:
src/menus/demo.ts及src/menus/index.ts中的 demo 引用 - 国际化:
src/locales/zh/content.ts、src/locales/en/content.ts
同时清理以下代码引用:
src/layouts/components/Header.tsx:删除import Github from '@/components/Github';与<Github />标签src/menus/index.ts:删除import { demo } from './demo';与...(demo as SideMenu[])
Instructions
1. 执行清理脚本
调用 Python 脚本完成清理,必须先做 dry-run 预览,再确认删除:
# 1) dry-run 预览(不删除任何文件,仅打印将要删除的文件和将要修改的引用)
python .Codex/skills/init-project/scripts/cleanup.py --dry-run
# 2) 确认无误后,真正执行删除
python .Codex/skills/init-project/scripts/cleanup.py
或使用包装脚本(Windows 下推荐):
bash .Codex/skills/init-project/scripts/run.sh --dry-run # 预览
bash .Codex/skills/init-project/scripts/run.sh # 执行
2. 确认流程(重要)
- 先运行
--dry-run,将脚本输出的「待删除文件清单」和「待修改引用清单」展示给用户。 - 明确询问用户是否确认执行删除。
- 用户确认后再运行不带
--dry-run的命令。 - 执行完成后,建议运行
pnpm lint和pnpm dev验证项目可正常构建运行。
3. 脚本行为说明
脚本(cleanup.py)会:
- 校验项目根目录(默认当前工作目录,可通过
--root <path>指定)。 - 计算所有待删除的文件/目录(仅删除存在的)。
- 计算所有待修改的引用文件(按精确字符串匹配替换)。
--dry-run模式下只输出计划,不写盘;非 dry-run 模式下执行删除与替换,并跳过已不存在的目标。- 仅做精确字符串替换,不会误伤业务代码;替换前会检查目标字符串是否存在。
4. 替换规则(精确匹配)
| 文件 | 替换内容 |
|---|---|
src/layouts/components/Header.tsx |
删除 import Github from '@/components/Github';\n 整行,删除 <Github />\n 整行 |
src/menus/index.ts |
删除 import { demo } from './demo';\n 整行,将 ...(demo as SideMenu[]),\n 整行删除 |
注:脚本使用精确字符串匹配。如果上述文件已被人为修改导致字符串不再精确匹配,脚本会跳过该替换并在输出中提示「未找到匹配」,此时需人工检查。
5. 安全检查
- 脚本默认不会删除脚本自身所在目录之外的任意文件,仅处理上述明确的目标。
- 所有路径均相对项目根目录计算,不会跨项目删除。
- 若目标已被删除(重复执行),脚本会安全跳过。
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today Changed 7384b7297d54
- 2mo ago First seen · 73 lines · 83 tokens per session scan A cdd8fc0a41d6
init-project is a skill published in the GitHub repository southliu/south-admin-react (583 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 944 once invoked, about $0.0003 per session on Opus 5.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-30.
Other skills, from other repositories
antd
Use when the user's task involves Ant Design (antd) — writing antd components, debugging antd issues, querying antd APIs/props/tokens/demos, migrating between antd versions, or analyzing antd usage in a project. Triggers on antd-related code, imports from 'antd', or explicit antd questions.
pro-upgrade
An upgrade guide for projects built with Ant Design Pro, a React-based application template for business software. It compares the project with the latest official template and merges framework updates while preserving application code.
weapp-vite-react-best-practices
A Chinese-language guide for building React 19 WeChat mini programs with weapp-vite and @weapp-vite/react. WeChat mini programs are small apps that run inside WeChat.
typescript-advanced-types
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.
writing-spec
Collaboratively write a feature spec with the developer. Trigger when a task involves 5+ unconstrained decisions, spans 10+ files, or the developer explicitly asks for a spec. Do NOT trigger for config edits, CSS fixes, helper functions, exploratory prototyping, presentation-only changes, or when the developer…
playwright-page-objects
Use when creating page objects or refactoring Playwright E2E tests for better maintainability with Page Object Model patterns.