Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/huangpufan/hpf_linux_config/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.svg" alt="Measured on agentmods" 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.00630 | $0.00630 |
| Opus 5 | $0.00315 | $0.00315 |
| Sonnet 5 | $0.00126 | $0.00126 |
| Haiku 4.5 | $0.00063 | $0.00063 |
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 6d 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.
What it actually says
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/:预设组合入口,例如minimal、dev-cli、dev-full、all-toolsinstall-script/setup/:系统与账号配置,例如 Git 身份、GitHub 认证、apt 镜像、npm/cargo registryinstall-script/basic/:基础环境引导与兼容性脚本install-script/tools/:单工具安装脚本,一个工具一个脚本install-script/openharmony/:OpenHarmony 专用环境与依赖,不属于默认机器初始化nvim/:编辑器配置,不是整机安装主入口
仓库约定
- 仓库路径固定为
~/hpf_Linux_Config - runner 优先:优先用
python3 install-script/agent-runner.py ...,不要默认直接执行脚本 github-auth单工具默认走gh + HTTPSbootstrap/all-tools是本仓库所有者的个人新机路径,默认会生成/上传 SSH key,并把 GitHub git protocol 切到ssh- 执行
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,不允许只改不推
常用命令
python3 install-script/agent-runner.py list
python3 install-script/agent-runner.py check all
python3 install-script/agent-runner.py preset minimal --dry-run
python3 install-script/agent-runner.py preset minimal
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.
- 6d 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 26d ago), licensed MIT. It adds 630 tokens to every session, about $0.0032 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
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).
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 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).
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.
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.
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.