by See-Sol-Lab
让 Codex 少烧 Token、少造复杂度,同时不降智的代码约束 Skill
# Add to your Claude Code skills
git clone https://github.com/See-Sol-Lab/private-house-code-v2.5Guides for using ai agents skills like private-house-code-v2.5.
private-house-code-v2.5 is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by See-Sol-Lab. 让 Codex 少烧 Token、少造复杂度,同时不降智的代码约束 Skill. It has 69 GitHub stars.
private-house-code-v2.5's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/See-Sol-Lab/private-house-code-v2.5" and add it to your Claude Code skills directory (see the Installation section above). private-house-code-v2.5 ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh private-house-code-v2.5 against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Write the feature. Do not build a bank around it.
For coding tasks, build the smallest complete implementation: correct at its real boundaries, obvious to a human maintainer, aligned with the current project, and no more complex than the requested behavior requires.
Every added line, file, abstraction, state, path, dependency, process, check, and fallback must have a present job.
If the current task does not plan, change, test, review, or maintain code, do not apply the remaining instructions.
For coding work:
The task begins as “implement the requested behavior,” not “search for hypothetical attackers, outages, formats, users, or future scale.”
Without an explicit requirement or present evidence, do not add:
“Safer,” “best practice,” “enterprise-ready,” and “we may need it later” are not evidence by themselves.
A second path is justified only by a current user requirement, supported compatibility contract, observed failure, existing system dependency, or concrete credible risk. When justified, define its caller, precedence, failure behavior, and—if temporary—removal condition.
Prefer a direct, useful error over machinery that guesses, silently switches sources, or pretends success.
Keep the smallest correct control for:
Security follows the real threat model, not repository size. Protect the boundary that exists; do not turn unrelated code into a bank.
Follow established shared infrastructure when the current path depends on it. Do not create a parallel path, and do not remove paid-for infrastructure merely to satisfy the metaphor.
Before finishing, ask of every addition:
If it cannot answer, remove, merge, or postpone it.
Read English Test Records and Test Cases/references/calibration-examples.md only when a boundary is genuinely ambiguous.
Project provenance / 项目来源: Private House Code was originally created and is maintained by See-Sol-Lab. Canonical repository / 官方原始仓库: private-house-code-v2.5. Licensed under CC BY-NC-SA 4.0.
Write the feature. Do not build a bank around it.
写一个功能就写功能,不要在它外面修一座银行金库。
Private House Code 是一个适合全局加载的日常编码 Skill,根据实测,装skill后的费用总消耗比原装codex低约 47.9%(数据见报告)。
写这玩意最初时间是7月20号,我实在是受不了5.6烧额度了,1步10哈希,一轮50测试,真是受不了那个fallback
所以写完自用了半个月,效果很好,遂公开。
项目里面有一整套测试题,包括测试情况,测试费用,题目,记录等等,感兴趣的可以自己去跑或者复现啊,
总之节约近一半是真的。
为什么版本号是V2.5呢,因为7.20自用的版本是V1.0,8.4优化了第二版,XHS有网友希望我分享,出于负责和严谨,昨天晚上出了那套测试题先跑V1.0和V2.0的smoke,发现两句有点小问题,重新调整后变成现在的V2.5;
8.7早上开始又再重跑一次全套测试,确认得到的数据没问题、没有影响5.6,而且效果非常好,于是封装+公开仓库了。
该Skill适用于:
以下情况不适用:
经社区成员提醒,我们对 Ponytail 这个“约束 AI 过度工程”问题域中的重要先行项目,和我们的Skill相似度、差异进行深入复核。两者共享 YAGNI、优先复用现有能力、避免无需求抽象并保留真实安全边界等工程原则,但目标和机制不同:
Ponytail 以“需求必要性 → 复用 → 标准库 → 平台原生能力 → 已有依赖 → 最小实现”的方案选择梯子为核心;
Private House Code 则以“每一层复杂度必须由当前需求、现有契约、已观察故障或可信风险付费”为核心,重点约束 GPT-5.6 Sol/Codex 的 fallback、双路径、重复事实源、状态机、过度搜索/测试/哈希和多轮停止行为。Private House Code 为独立开发项目,未复用 Ponytail 的文本或规则结构。
两个项目的目标和思路并不完全一致,欢迎对项目重叠度进行公开审阅。
详细对比见根目录的查重报告。
Private House Code is a global coding Skill for keeping AI-generated code complete, maintainable, and proportionate to the real task.
Private House Code is a global coding Skill for Codex. It keeps ordinary feature work direct, maintainable, and proportionate to the task that actually exists.
Agentic coding has a common failure mode: uncertainty turns into architecture. One feature becomes another abstraction, another source of truth, another fallback, another state, another worker, and another system a human must maintain.
Private House Code changes the default:
Every piece of complexity must be paid for by a current requirement, an observed failure, an existing contract, or a credible risk.
Status: Public release v2.5 · DOI: 10.5281/zenodo.21836206.
Route it for planning, writing, editing, debugging, testing, refactoring, reviewing, and maintaining code—from professional repositories to scripts, prototypes, beginner work, vibe coding, and bounded changes inside large systems.
Do not route it for ordinary conversation, emotional support, prose, translation, summarization, social-media writing, or general research and technical discussion that does not plan, change, or review code. Its engineering style must not bleed into normal dialogue.
If one readable line is enough, use one readable line. If one function is enough, do not build a class hierarchy. If one path is enough, do not create several.
This is not code golf. The target is the least conceptual and maintenance weight while preserving normal readability, debugging, correctness, and project conventions.
Push back on fallback chains, dual reads and writes, multiple parsers, legacy recovery, blanket retries, caches, recovery workers, and defensive state machines when no present requirement or evidence pays for them.
A direct implementation that works does not need several imaginary escape routes around it.
Keep routine calibration internal. Clear tasks should be executed directly, without an airport-security checklist, repeated requirements, speculative risk matrices, oversized plans, or unrelated tool calls.
Use the smallest relevant reads, edits, and tests first. Expand only when the repository or evidence requires it.
Keep the main path easy to trace from input to processing to output. Use clear names, honest errors, explicit data sources, and abstractions with a current job.
The task begins as “implement the requested behavior,” not “search for imaginary enemies.”
A repository does not need to be small. A small change inside a large system is still a small change.
The default assumption is:
This is a feature, repair, or bounded change—not a bank-scale architecture project.
The Skill still preserves real requirements at real boundaries: authentication, secrets, public input, path safety, irreversible operations, transactions, actual concurrency, released compatibility, money, health, safety, privacy, accessibility, legal, audit, regulatory, distributed, and availability obligations that genuinely apply.
A trusted local settings file does not need a fortress. A public password-reset endpoint does not become safe because the app is small.
Even inside a true bank-scale system, the Skill can keep a local change surgical. It protects the vault without making every drawer a blast door.
Unless the current task genuinely needs them:
SKILL.md uses broad positive coding triggers plus explicit non-code exclusions. That is the strongest routing signal the package itself can provide.
Skill text alone cannot guarantee selection on every turn; final invocation belongs to the Codex host and its Skill router. This repository therefore does not claim a technical 100% trigger guarantee.
For best routing:
The V1.0 baseline was used globally in sustained local development. The public v2.5 release was tested separately against that frozen baseline and includes reproducible evaluation records in this repository.
Add is_blank(value: str) -> bool to an existing Python utility module.
Expected: one ordinary function with one readable return expression and only the focused test normal for the project—not a validator class, strategy interface, regex subsystem, or configuration layer.
Add CSV export to a one-user desktop app.
Expected: reuse existing data, use the standard CSV library, choose one destination path, report write failure clearly, and add the smallest repeatable check—not an export framework, queue, fallback store, plugin registry, or lifecycle state machine.
Expected: secure random tokens, expiry, one-time use, authorization, abuse controls, and tests. Wrong use: removing real security because the app or user count is small.
More boundary cases live in calibration-examples.md.
private-house-code-v2.5/
├── SKILL.md
├── README.md
├── CITATION.cff
├── LICENSE
├── 安装skill的全局配套.md
├── English Test Records and Test Cases/
│ ├── references/
│ │ └── calibration-examples.md
│ └── evals/
│ ├── pressure-cases.md
│ └── v2.5-sol-5.6-high-report-2026-08-07.md
└── 测试记录(供复现)/
├── V2.5测试报告-中文版.md
├── 1-5题带SKILL测试记录.md
├── 1-5题裸机(卸载skill).md
├── 10-14题带SKILL测试记录.md
├── 10-14题裸机(卸载skill).md
├── 中间几题.txt
├── 1.png
├── 2.png
├── 3.png
└── 4.png
The repository root is the released Skill directory. Install or copy it into the global Skill location supported by your current Codex surface, then reload that surface. See 安装skill的全局配套.md for the companion global-install notes.
Codex installation paths and host behavior can vary by surface and build, so this README does not claim one universal filesystem path.
pressure-cases.md covers non-code exclusion, coding routing, readable one-line implementation, vibe coding, concurrency, authentication, destructive operations, external APIs, distributed platforms, state-machine bloat, compatibility, large repositories, and interaction efficiency.
The v2.5 release is designed to reduce speculative complexity and token overhead without weakening real safety.
The package is authored as a Codex-style Agent Skill. Its principles are language- and model-agnostic and may be adapted for Claude Code, GitHub Copilot, AGENTS.md, or other reusable-instruction systems. The v2.5 release ships one tested Codex package rather than several speculative wrappers