XiangXiong: Instructions file for Claude Code

CLAUDE.md

XiangXiong CLAUDE.md is an instructions file for Claude Code from AAAAAln1/XiangXiong. It costs 2,370 tokens per session, scanned A, original, MIT.

Project instructions for XiangXiong, a Chinese-language black-box penetration-testing agent that investigates authorized targets and records evidence.

In plain words
What is it for?
Use them to guide HTTP and non-HTTP tests, track hypotheses and experiments, save responses and scripts, and update findings for an authorized target.
Why use it?
They define the allowed scope, request methods, experiment records, evidence storage, and project memory rules for repeatable security testing.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is AAAAAln1/XiangXiong's own configuration. It tells Claude Code how to work on XiangXiong itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything XiangXiong configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AAAAAln1/XiangXiong. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AAAAAln1/XiangXiong/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/AAAAAln1/XiangXiong

Made for: Claude Code.

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 XiangXiong CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aaaaaln1/xiangxiong/claude-md/github.svg)](https://agentmods.dev/instructions/aaaaaln1/xiangxiong/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aaaaaln1/xiangxiong/claude-md"><img src="https://agentmods.dev/badge/instructions/aaaaaln1/xiangxiong/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for XiangXiong CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/aaaaaln1/xiangxiong/claude-md"><img src="https://agentmods.dev/badge/instructions/aaaaaln1/xiangxiong/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,370 This file is loaded in full into every session.
When invoked 2,370 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.02370 $0.02370
Opus 5 $0.01185 $0.01185
Sonnet 5 $0.00474 $0.00474
Haiku 4.5 $0.00237 $0.00237

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

Security

Grade A, and why

XiangXiong CLAUDE.md scanned grade A with 1 finding 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 10d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- HTTP:`python runtime/http_request.py <target> <curl_args...>`。禁止裸 curl/wget。超时 15s,展示截断 2048。**截断 ≠ 全文** → 查 `results/<target>/responses/`。
CLAUDE.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

象雄黑盒渗透测试智能体

授权目标 only。中文。有可验证方向或未完成 Target 就继续;方向穷尽则记录并切换。仅 scope 争议、缺外部凭据、Runtime 不可恢复时问人。全部完成后结束,不问是否继续。每个接口独立验证。哈希破不了就换路径。

Runtime

产物:results/<target>/responses/experiments/exp-NNN/scripts/report.mdlessons.mdmemory.md

  • HTTP:python runtime/http_request.py <target> <curl_args...>。禁止裸 curl/wget。超时 15s,展示截断 2048。截断 ≠ 全文 → 查 results/<target>/responses/
  • 非 HTTP:python runtime/execute.py <target> --timeout 60 --purpose "<why>" --cmd "<command>"。Windows 复杂命令先写 results/<target>/scripts/*.py 再 execute。
  • 实验:create ... --activate --hypothesis "..."close ... --conclusion "..." --status success|failed|blocked|unknown --memory-update '{"text":"探索后的世界变化","status":"confirmed","evidence":["req_747"]}'close 时写 --memory-update:text 是探索后的结论(非 create 旧假设),Runtime 机械写回 memory 的 hypothesis [状态] 行 + 证据行,无需再手写 DELTA。 探索单请求可先不 create。
  • memory:禁止直接 Write。echo "DELTA:\n..." | python runtime/merge.py。每条 <3 行,一次 ≤15 行。前缀:target: tech: port: artifact: surface: vuln: cred: hypothesis: counter: dead:记账通道,不是每步填表;有观察/冲突/结论才写)。详见下文"记账"节。
  • 换目标:DELTA 写新 target: 即可(merge archive 旧 world 并清空热 memory)。禁止叠多站。
  • 路径枚举:resources/wordlists/ 小表限流;命中只 surface:

记账

每轮写 一条 DELTA,禁止累积憋大改。通过 stdin 走 merge.py(拒绝重复、边界外条目、敏感 prefix),禁止裸 Write/Edit memory。

前缀surface / tech / port / cred / artifact / hypothesis / counter / dead / vulnhypothesis: 可选状态标记:[observed](已假设未验证)、[confirmed](实验结果支持假设)、[contradicted](存在证据证明假设不成立)、[blocked](无法获得验证条件如缺账号/权限/环境)。状态来自验证结果,非猜测。写法:hypothesis [observed]: ...hypothesis: ...(无状态)。

结论 vs 事实surface: 只记对象存在性/技术事实(如"首页是 Vue SPA"、"接口存在")。越权/绕过/泄露/否定等探索结论必须用 hypothesis [状态] / vuln: / counter: 表达,并带 req_/exp- 证据编号——merge 会对无证据引用的 [confirmed]/[contradicted]/vuln:/counter: 打 WARN;带证据的结论才能被后续会话复核与报告引用。

状态语义

  • [confirmed]: 实验结果支持 hypothesis
  • [contradicted]: 有证据证明假设不成立(世界给出否定答案)
    • 例:多次探测不同可能路径均失败,证明假设目标不存在
  • [blocked]: 缺少必要验证条件(世界未给答案)
    • 例:验证需要特定账号/权限/环境,但条件不具备

Read the full file on GitHub · 71 lines

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. 10d ago First seen · 71 lines · 2,370 tokens per session scan A 7d7c59f808ea

Subscribe to this mod's changes

XiangXiong CLAUDE.md is an instructions file published in the GitHub repository AAAAAln1/XiangXiong (11 stars, last pushed 15d ago), licensed MIT. It adds 2,370 tokens to every session, about $0.0119 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

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

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,153 tokens

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

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

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

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