Borrowing it
Nothing to install: this file belongs to xiaojiou176-open/agent-export. 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/xiaojiou176-open/agent-export/main/CLAUDE.mdgit clone --depth 1 https://github.com/xiaojiou176-open/agent-exportWrote 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/xiaojiou176-open/agent-export/claude-md)<a href="https://agentmods.dev/instructions/xiaojiou176-open/agent-export/claude-md"><img src="https://agentmods.dev/badge/instructions/xiaojiou176-open/agent-export/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.02138 | $0.02138 |
| Opus 5 | $0.01069 | $0.01069 |
| Sonnet 5 | $0.00428 | $0.00428 |
| Haiku 4.5 | $0.00214 | $0.00214 |
Grade A, and why
agent-export 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 7d 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 — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgentExport CLAUDE Guide
Quick Index
AGENTS.mdREADME.mddocs/README.mddocs/adr/ADR-0001-source-layering.mddocs/adr/ADR-0002-codex-first-delivery.mddocs/reference/host-safety-contract.md
Current Truth
- This repo is a Rust CLI-first exporter.
- Current implementation delivery is Codex dual-source export + minimal Claude Code session-path export + shared JSON/HTML export + local archive index + local metadata search + semantic retrieval + hybrid retrieval + local multi-agent archive shell + local retrieval report artifacts + workspace-local transcript backlinks + local reports shell + reports-shell metadata search + repo-owned integration materializer/doctor + integration doctor hardening + platform-aware integration doctor diagnostics + integration pack-shape hardening + integration onboarding experience + integration evidence pack + integration evidence shell search + machine-readable integration evidence + integration evidence timeline/diff + evidence gate / explain + baseline registry + policy packs + promotion engine/history + remediation bundle studio + read-only governance MCP surface + current-decision automation + local governance workbench.
- Current integration-pack semantics:
- Codex and Claude Code are ready through CLI-first templates plus an optional minimal stdio MCP bridge
- the MCP bridge resolves repo-local launcher paths before any explicit
AGENT_EXPORT_BIN/AGENT_EXPORT_ARGSoverride - OpenClaw is prepared as bundle content and plugin skeletons, not as a repo-native runtime
integrate <platform> --target <dir>materializes repo-owned assets into explicit targets onlydoctor integrations --platform <platform> --target <dir>stays read-only and reportsready / partial / missing- doctor now also checks target-content drift against the current repo-generated content and runs a launcher probe
- if the launcher can only fall back to
cargo run, doctor keeps the result conservative instead of triggering a build in read-only mode - doctor now also validates platform-specific config/bundle shape for Codex, Claude Code, and OpenClaw
- doctor now also tightens Codex
command/argsshape and Claude pack-shape diagnostics onboard <platform> --target <dir>now stitches materialize + doctor + next-step guidance into one first-run pathintegrate/onboardnow reject obvious live host/global roots such as~/.codex,~/.claude*, and direct OpenClaw bundle/plugin rootsdoctor integrations --save-reportandonboard --save-reportnow write static integration evidence under.agents/Integration/Reports- integration evidence reports are integration-owned artifacts and must not be re-ingested into transcript/search corpora
- the integration evidence front door now supports static shell search/facets for
platformandreadiness - integration evidence now also writes paired
report.html + report.jsonartifacts plusindex.html + index.json AgentExport evidence diff --left <report> --right <report>now compares saved integration evidence snapshots without rerunning doctor/onboardAgentExport evidence gate --baseline <report> --candidate <report>now classifies evidence aspass / warn / failAgentExport evidence explain --report <report>anddoctor integrations --explainnow expose remediation orderAgentExport evidence baseline list|show|promotenow manages the official baseline registryAgentExport evidence policy list|shownow exposes repo-owned governance policy packsAgentExport evidence promote/evidence historynow record decision promotion and auditable governance history- the MCP bridge now also exposes read-only governance consumption tools
- The repository is designed to grow into multiple connectors later, but not all at once.
- Current export semantics stay aligned with CodexMonitor:
thread/readprimarythread/resumefallback only- fallback exports are
incomplete - Markdown stays round-based and remains the default output
- output target semantics remain explicit
- Current local direct-read semantics:
--source localthread-id -> sqlite -> rollout_pathor direct--rollout-path- result is
degraded - local source is archival truth, not canonical truth
- Current Claude Code semantics:
export claude-code --session-path <PATH>- local session-file import into the shared archive core
- result is
degraded - Claude Phase 3 is a second-connector proof, not a second Markdown dialect
- Current output-format semantics:
--format markdown|json|htmlmarkdownstays the defaultjsonis a second output over the same transcript corehtmlis a third output over the same transcript corehtmlis a static readable transcript document, not a browse shell- workspace conversations HTML now includes a backlink to the local archive shell
- Downloads HTML stays free of workspace-only links
- Current archive browsing / publish semantics:
publish archive-index --workspace-root <repo>- scans workspace conversations for existing HTML transcript exports
- writes one local archive shell
index.htmlwith relative links - now supports local metadata filtering plus retrieval-lane guidance for semantic / hybrid CLI search
- now also writes a local reports shell at
.agents/Search/Reports/index.html - local reports shell now also supports report search and report-kind filtering
- keeps semantic / hybrid retrieval in CLI instead of moving them into browser-side execution
- does not add hosted publish / remote search behavior
- Current semantic retrieval semantics:
search semantic --workspace-root <repo> --query "<text>"- uses embedding-based retrieval over the local archive corpus
- requires local model assets for live retrieval
- does not silently fall back to lexical search
- Current hybrid retrieval semantics:
search hybrid --workspace-root <repo> --query "<text>"- blends semantic ranking with lexical metadata signals
- reuses the persistent semantic index from the semantic path
- does not mutate
search semanticinto a hidden hybrid command
- Current retrieval report semantics:
search semantic --save-reportandsearch hybrid --save-report- write static HTML reports under
.agents/Search/Reports - reports are search-owned local artifacts, not transcript HTML inputs
- archive shell and reports shell may link them, but retrieval execution stays in CLI
- Current highest-value next step:
- a new post-Phase-34 product decision, still local-first and non-hosted
- Current host-safety semantics:
- the repo may spawn one direct app-server child
- the repo may only terminate that directly owned child handle
- host-control utilities, shell launchers, desktop automation, and inline-eval launcher overrides are rejected
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.
- 7d ago First seen · 143 lines · 2,138 tokens per session scan A 196a43f306b5
agent-export CLAUDE.md is an instructions file published in the GitHub repository xiaojiou176-open/agent-export (1 stars, last pushed 1mo ago), licensed MIT. It adds 2,138 tokens to every session, about $0.0107 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
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).
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.
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.