hpf_Linux_Config AGENTS.md

hpf_Linux_Config AGENTS.md is an instructions file for Codex, OpenCode from huangpufan/hpf_Linux_Config. It costs 630 tokens per session, scanned A, original, MIT.

Repository instructions for hpf_Linux_Config, a Linux machine-setup project. They explain which documentation and scripts to read for installing tools, configuring accounts, and setting up supported Ubuntu versions.

In plain words
What is it for?
Use them when installing or checking development tools, configuring Git or GitHub, setting package sources, or choosing a setup preset. They also guide work on Ubuntu 20.04, 22.04, and 24.04.
Why use it?
They reduce the risk of using the wrong script or applying personal machine settings to another account. They also define the project’s preferred installation entry point and special checks for personal bootstrap actions.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

Install

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.

agentmods
npx agentmods add instructions/huangpufan/hpf_linux_config/agents-md
Clone the repo
git clone --depth 1 https://github.com/huangpufan/hpf_Linux_Config

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for hpf_Linux_Config AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/huangpufan/hpf_linux_config/agents-md.svg)](https://agentmods.dev/instructions/huangpufan/hpf_linux_config/agents-md)
Your own site
<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>
Per session 630 This file is loaded in full into every session.
When invoked 630 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 6d ago against content hash ba4417062eae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

AGENTS.md · 40 lines

What it actually says

AGENTS

本仓库以 install-script/ 为核心。凡是“安装环境”“检查安装状态”“自动化执行安装” 这类任务,不要先在历史脚本里随意翻找,先按下面的顺序读。

安装任务阅读顺序

  1. 先读 docs/agent-install-playbook.md
  2. 默认使用 install-script/agent-runner.py
  3. install-script/agent-tools.json 当作唯一工具目录与 tool id / check_cmd 来源
  4. 再进入 install-script/ 下对应的子目录看具体脚本

安装时该看哪个文件夹

  • install-script/presets/:预设组合入口,例如 minimaldev-clidev-fullall-tools
  • install-script/setup/:系统与账号配置,例如 Git 身份、GitHub 认证、apt 镜像、npm/cargo registry
  • install-script/basic/:基础环境引导与兼容性脚本
  • install-script/tools/:单工具安装脚本,一个工具一个脚本
  • install-script/openharmony/:OpenHarmony 专用环境与依赖,不属于默认机器初始化
  • nvim/:编辑器配置,不是整机安装主入口

仓库约定

  • 仓库路径固定为 ~/hpf_Linux_Config
  • runner 优先:优先用 python3 install-script/agent-runner.py ...,不要默认直接执行脚本
  • github-auth 单工具默认走 gh + HTTPS
  • bootstrap / all-tools 是本仓库所有者的个人新机路径,默认会生成/上传 SSH key,并把 GitHub git protocol 切到 ssh
  • 执行 bootstrap / all-tools 前先探测当前账户;如果是 hpf,直接执行;如果不是 hpf,必须先问用户是否仍要执行个人 SSH bootstrap,并确认 Git 邮箱,获准后用 HPF_BOOTSTRAP_CONFIRM_PERSONAL=yesHPF_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
Changes

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.

  1. 6d ago First seen · 40 lines · 630 tokens per session scan A ba4417062eae

Subscribe to this mod's changes

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.

Related

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).

microsoft/vscode · 6,785 tokens

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.

openai/codex · 5,182 tokens

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).

microsoft/vscode · 5,001 tokens

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.

github/spec-kit · 7,104 tokens

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.

vercel/next.js · 7,296 tokens

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.

langchain-ai/langchain · 4,469 tokens