Borrowing it
Nothing to install: this file belongs to huangpufan/hpf_Linux_Config. 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/huangpufan/hpf_Linux_Config/main/AGENTS.mdgit clone --depth 1 https://github.com/huangpufan/hpf_Linux_ConfigWrote 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/huangpufan/hpf_linux_config/agents-md)<a href="https://agentmods.dev/instructions/huangpufan/hpf_linux_config/agents-md"><img src="https://agentmods.dev/badge/instructions/huangpufan/hpf_linux_config/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/huangpufan/hpf_linux_config/agents-md"><img src="https://agentmods.dev/badge/instructions/huangpufan/hpf_linux_config/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.01042 | $0.01042 |
| Opus 5.5 | $0.00417 | $0.00417 |
| Sonnet 5.5 | $0.00208 | $0.00208 |
| Haiku 4.5 | $0.00104 | $0.00104 |
Grade A, and why
hpf_Linux_Config 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 12d 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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS
本仓库以 install-script/ 为核心。凡是“安装环境”“检查安装状态”“自动化执行安装”
这类任务,不要先在历史脚本里随意翻找,先按下面的顺序读。
安装任务阅读顺序
- 先读 docs/agent-install-playbook.md
- 默认使用 install-script/agent-runner.py
- 把 install-script/agent-tools.json 当作唯一工具目录与
tool id/check_cmd来源 - 再进入
install-script/下对应的子目录看具体脚本
安装时该看哪个文件夹
install-script/presets/:预设组合入口:bootstrap、minimal、dev-cli、dev-full、all-tools、agents;以python3 install-script/agent-runner.py list的输出为准,不要凭文档里的清单推断install-script/setup/:系统与账号配置,例如 Git 身份、GitHub 认证、apt 镜像、npm/cargo registryinstall-script/basic/:基础环境引导与兼容性脚本install-script/tools/:单工具安装脚本,一个工具一个脚本install-script/openharmony/:OpenHarmony 专用环境与依赖,不属于默认机器初始化nvim/:编辑器配置,不是整机安装主入口agent-config/:AI coding agent 配置正本(私有 submodule,不含任何密钥);preset agents只装 CLI 本体,取回与部署走install agent-config
仓库约定
- 仓库路径固定为
~/hpf_Linux_Config - runner 优先:优先用
python3 install-script/agent-runner.py ...,不要默认直接执行脚本 github-auth单工具默认走gh + HTTPSbootstrap/all-tools是本仓库所有者的个人新机路径,默认会生成/上传 SSH key,并把 GitHub git protocol 切到sshagents预设只安装 pi、codex、claude、opencode、gemini、cursor-agent、devin、kimi 的 CLI 本体,不处理登录与凭据,也不属于all-toolsagent-config是私有 submodule,由install agent-config取回并部署:它会覆盖本机已有的 agent 配置(覆盖前备份为<文件>.bak.<时间戳>)。已有自己配置的机器上,先bash agent-config/install.sh --check(只检查漂移、不改任何文件)并让用户确认;不要绕过 runner 直接跑不带--check的install.shdsh-plugins是私有仓库,由install dsh-plugins取回到~/project/dsh-plugins(DSH_PLUGINS_DIR可改)并运行它自带的 runner。退出码2(需要人,如缺 API key)按成功返回并提示needs you;--include-heavy(下载数 GB)和--overwrite-config只经DSH_PLUGINS_APPLY_ARGS显式传入,先问用户- 新机器完整顺序:
preset bootstrap→install nvm→preset agents→install agent-config→install dsh-plugins(后两步取回私有仓库,依赖 bootstrap 上传的 SSH key 与账号权限;细节见 playbook 4.1) - 执行
bootstrap/all-tools前先探测当前账户;如果是hpf,直接执行;如果不是hpf,必须先问用户是否仍要执行个人 SSH bootstrap,并确认 Git 邮箱,获准后用HPF_BOOTSTRAP_CONFIRM_PERSONAL=yes和HPF_GIT_EMAIL执行 - 支持 Ubuntu 20.04 / 22.04 / 24.04;其中 Ubuntu 24.04 的换源走
ubuntu.sources,不是旧的sources.list - 所有修改完成后必须
git add -A && git commit && git push,不允许只改不推
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.
- 12d ago Changed · +5 lines · +412 tokens per session 3f3176ee1e29
- 2mo ago First seen · 40 lines · 630 tokens per session scan A ba4417062eae
hpf_Linux_Config AGENTS.md is an instructions file published in the GitHub repository huangpufan/hpf_Linux_Config (5 stars, last pushed 13d ago), licensed MIT. It adds 1,042 tokens to every session, about $0.0042 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-31.
hpf_Linux_Config AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hpf_Linux_Config AGENTS.mdhuangpufan/hpf_Linux_Config | Instructions file | 5 | 13d ago | MIT | A | 1,042 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |