Borrowing it
Nothing to install: this file belongs to cybernetix-lab/moss-harness. 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/cybernetix-lab/moss-harness/main/CLAUDE.mdgit clone --depth 1 https://github.com/cybernetix-lab/moss-harnessWrote 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/cybernetix-lab/moss-harness/claude-md)<a href="https://agentmods.dev/instructions/cybernetix-lab/moss-harness/claude-md"><img src="https://agentmods.dev/badge/instructions/cybernetix-lab/moss-harness/claude-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.02095 | $0.02095 |
| Opus 5 | $0.01047 | $0.01047 |
| Sonnet 5 | $0.00419 | $0.00419 |
| Haiku 4.5 | $0.00210 | $0.00210 |
Grade A, and why
moss-harness CLAUDE.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 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 — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Harness Project Guide
项目概述
这是一个生产级完备的 AI Agent Harness 工程模板,提供可靠、可观测、可恢复的 Agent 运行环境, 核心功能包括:
- 技能系统 - 可复用的 Agent 能力模块
- 会话钩子 - 自动化上下文管理
- 多 Agent 架构 - 专用 Agent 分工协作
- 代码规则 - 自动化规范检查
- MCP 集成 - 外部工具标准化接口
- 记忆系统 - 跨会话学习
- 验证循环 - 多级质量保障
核心原则
- 上下文即记忆 - 所有状态持久化到文件系统
- 约束先于能力 - 先定义边界,再赋予权限
- 验证内嵌 - 每个阶段自动验证
- 可恢复性 - 任何时刻可从断点继续
- 持续学习 - 从会话中提取模式
快速开始
# 初始化项目
./init.sh
# 启动 Agent 会话
./scripts/start-session.sh
# 激活技能
./scripts/skill-activate.sh typescript-patterns
# 运行验证
./scripts/verify.sh
# 运行评估
./scripts/run-evals.sh
项目结构
awesome-agent-harness/
├── CLAUDE.md # 仓库级持久指令
├── init.sh # 项目初始化脚本
│
├── agents/ # Agent 配置
│ ├── implementer.yaml # 功能实现 Agent
│ ├── reviewer.yaml # 代码审查 Agent
│ └── researcher.yaml # 研究分析 Agent
│
├── skills/ # 技能系统
│ ├── coding/ # 开发技能
│ │ ├── typescript-patterns/
│ │ └── react-hooks/
│ ├── review/ # 审查技能
│ │ └── security-scan/
│ └── research/ # 研究技能
│ └── documentation-lookup/
│
├── hooks/ # 会话钩子
│ ├── session-start.sh # 会话启动
│ ├── session-stop.sh # 会话结束
│ ├── pre-action.sh # 动作前验证
│ └── post-action.sh # 动作后记录
│
├── .runtime/ # 运行时数据
│ └── context/ # 上下文管理
│ ├── PROGRESS.md
│ └── DECISIONS.md
│
├── constraints/ # 约束与护栏
│ ├── hard-constraints.yaml # 硬约束
│ ├── soft-constraints.yaml # 软约束
│ └── tools-policy.yaml # 工具策略
│
├── rules/ # 代码规则
│ ├── typescript/ # TypeScript 规则
│ │ ├── function-size.yaml
│ │ └── type-safety.yaml
│ └── security/ # 安全规则
│ └── no-secrets.yaml
│
├── evals/ # 评估框架
│ └── harness/
│ ├── context-retention.yaml
│ └── constraint-enforcement.yaml
│
├── verification/ # 验证循环
│ ├── README.md
│ └── config.yaml
│
├── telemetry/ # 可观测性
│ └── config.yaml
│
├── mcp/ # MCP 配置
│ └── servers.json
│
├── memory/ # 记忆系统
│ └── README.md
│
├── tools/ # 工具定义
│ ├── filesystem/
│ ├── code/
│ └── execution/
│
├── scripts/ # 运维脚本
│ ├── start-session.sh
│ ├── update-context.sh
│ ├── create-checkpoint.sh
│ ├── restore-checkpoint.sh
│ ├── skill-list.sh # 列出技能
│ ├── skill-activate.sh # 激活技能
│ ├── agent-list.sh # 列出 Agent
│ ├── verify.sh # 运行验证
│ ├── run-evals.sh
│ └── health-check.sh
│
└── runtime/ # 运行时数据
├── current -> sessions/xxx
├── sessions/
└── telemetry/
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 · 300 lines · 2,095 tokens per session scan A 966b004491dc
moss-harness CLAUDE.md is an instructions file published in the GitHub repository cybernetix-lab/moss-harness (135 stars, last pushed 3mo ago), licensed MIT. It adds 2,095 tokens to every session, about $0.0105 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-30.
Other instructions, from other repositories
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.
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 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).
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).
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.
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.