Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/metahub-tech/agent-fleetnpx agentmods add skills/metahub-tech/agent-fleet/project-initWrote 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/metahub-tech/agent-fleet/project-init)<a href="https://agentmods.dev/skills/metahub-tech/agent-fleet/project-init"><img src="https://agentmods.dev/badge/skills/metahub-tech/agent-fleet/project-init/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/metahub-tech/agent-fleet/project-init"><img src="https://agentmods.dev/badge/skills/metahub-tech/agent-fleet/project-init.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.00088 | $0.02165 |
| Opus 5.5 | $0.00035 | $0.00866 |
| Sonnet 5.5 | $0.00018 | $0.00433 |
| Haiku 4.5 | $0.00009 | $0.00216 |
Grade A, and why
project-init 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 9d 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 — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
project-init · 项目装载与刷新
目标:在动手之前,用可复现的步骤把「这个仓库现在是什么样」变成事实,而不是印象。 本技能默认只读:只做勘察与报告,不改任何文件。发现漂移 → 报告,不顺手修(修不修、走哪条 PR,由人或下一次任务决定)。
0. 先确认前提
- 工作目录是仓库根(含
.git)。DSH 会自动加载根目录AGENTS.md—— 若它不在上下文里,先读它。 - 判断这次要「全量装载」还是「主题化装载」:
- 全量:用户刚接手 / 很久没碰 / 要做跨模块改动 → 走完 §1–§4。
- 主题化:用户已点名范围(只改文档 / 只改某平台工具)→ 走 §1 的 1–3 步 + §3 中相关项即可。
1. 读的顺序(不要随机读文件)
按「结论 → 操作 → 结构 → 历史」四层,每层只读必要的:
| 层 | 读什么 | 目的 | 时间盒 |
|---|---|---|---|
| A 结论 | AGENTS.md |
硬约束、真源顺序、已知漂移 | 必读 |
| B 操作 | docs/project-map.md |
拓扑、命令、门禁、漂移登记、任务配方 | 必读 |
| C 结构 | docs/internal/blueprint/MAP.md → INTERFACE.md(按需)→ platform.toml |
模块在哪、工具签名是什么 | 按需 |
| D 为什么 | docs/internal/blueprint/DECISIONS/ → CHANGELOG.md [Unreleased] |
设计取舍、近期在做什么 | 按需 |
| E 冷冻 | docs/internal/{design,plans,specs}/、docs/superpowers/** |
只用来理解「当时为什么」,不当作现状 | 极少 |
SNAPSHOT.md 的用法:它自称周更快照,但先看 base_commit: 与 git log -1 --format=%H 的差距;差得远就跳过它的细节,改用 MAP.md + 代码。别把过期快照当事实。
不要读:CHANGELOG.md 全文(597 行,只读 [Unreleased] 与最近两节)、四份 docs/platforms/*.md 全文(按主题挑一份)、platforms/*/skills/(那是产品给调用方 agent 的规范,只在改产品行为时读)。
2. 体检命令(能跑就跑,跑不了要明说)
在仓库根执行;每条都记录「命令 / 结果 / 是否为本机能力限制」。
# 2.1 仓库状态与版本事实
git log -1 --format="%h %ad %s" --date=short
git rev-list --left-right --count main...$(git tag -l --sort=-v:refname | Select-Object -First 1)
git tag -l --sort=-v:refname | Select-Object -First 3
# 2.2 文档漂移(工具数 + 端口表)。预期在当前 main 上是 exit 1,不算你的锅
python3 scripts/gen_docs.py --check
# 2.3 代码契约与共享层(--basetemp 必带;仓库外目录,避免污染工作区)
python3 -m pytest platforms/tests -q --basetemp="$env:TEMP\af-init\pt"
python3 -m pytest platforms/common/tests -q --basetemp="$env:TEMP\af-init\ct"
# Windows 上预期 ~10 个环境性失败(bash 硬编码 / GBK 解码 / 路径进 regex),不是回归
# 2.4 只有本机有 bash / pwsh 7 才做(Windows 裸机通常没有 → 记「交 CI」)
# ./scripts/gen-blueprint-map.sh --check
# ./scripts/gen-blueprint-interface.sh --check
# ./scripts/check-blueprint-refs.sh
# ./scripts/check-ps-syntax.sh
# 2.5 CLI(依赖未装会直接 collection error,先 uv sync 或 pip install -e ".[dev]")
cd cli; $env:PYTHONPATH="src"; python3 -m pytest -q; cd ..
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.
- 9d ago First seen · 128 lines · 88 tokens per session scan A d502c4144d84
project-init is a skill published in the GitHub repository metahub-tech/agent-fleet (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 88 tokens to every session and 2,165 once invoked, about $0.0004 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-11-22.
project-init compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| project-initmetahub-tech/agent-fleet | Skill | 3 | 2d ago | Apache-2.0 | A | 88 | Claude Code, Codex |
| macro-outlookTauricResearch/TradingAgents | Skill | 124k | 6d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| nano-banana-pro-openrouteropensquilla/opensquilla | Skill | 7.2k | 5d ago | Apache-2.0 | A | 49 | Claude Code |
| skill-creator-linteropensquilla/opensquilla | Skill | 7.2k | 5d ago | Apache-2.0 | A | 84 | Claude Code |
| clinicaltrials-databasesynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 47 | Claude Code, Codex |
| esmsynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 86 | Claude Code, Codex |
| openalex-databasesynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 76 | Claude Code, Codex |