Borrowing it
Nothing to install: this file belongs to whyiyhw/seek. 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/whyiyhw/seek/main/CLAUDE.mdgit clone --depth 1 https://github.com/whyiyhw/seekWrote 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/whyiyhw/seek/claude-md)<a href="https://agentmods.dev/instructions/whyiyhw/seek/claude-md"><img src="https://agentmods.dev/badge/instructions/whyiyhw/seek/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.
<a href="https://agentmods.dev/instructions/whyiyhw/seek/claude-md"><img src="https://agentmods.dev/badge/instructions/whyiyhw/seek/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.04868 | $0.04868 |
| Opus 5.5 | $0.01947 | $0.01947 |
| Sonnet 5.5 | $0.00974 | $0.00974 |
| Haiku 4.5 | $0.00487 | $0.00487 |
Grade A, and why
seek 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 1mo 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.
- **Try alternative paths.** webfetch returned garbage on an HTML page? Try raw GitHub, the API reference instead of the rendered doc, a mirror, the project's own `docs/`. bash denied in plan-analyze? Use the purpose-bui This is a copy
86% identical to seek AGENTS.md — 26 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
seek — project guide for AI assistants
This file is read at the start of every Claude Code session in this repo. It mirrors AGENTS.md, which seek itself auto-loads at startup. The two files are related but allowed to diverge where each agent's tooling differs (see AGENTS.md vs CLAUDE.md).
Treat the instructions below as mandatory project conventions.
Pitfall recording (load-bearing — read this)
When you fix a non-obvious bug, discover an undocumented API constraint, or find a surprising piece of behaviour:
- Append an entry to
docs/pitfalls.mdusing the template at the top of that file. Categorise it (TUI / DeepSeek API / Go / Tooling / etc.); keep it terse — symptom, root cause, fix, lesson, refs. - Add a
Pitfall: <one-line summary>trailer to the commit message. Multiple pitfalls in one commit = multiple trailers. - The trailer is what
scripts/extract-pitfalls.shreads — it's the redundant signal sodocs/pitfalls.mdcan be regenerated if it ever falls out of sync.
What counts as "non-obvious":
- A behaviour that surprised you (or the user) for more than a minute.
- An API contract that isn't documented in the obvious spot.
- A workaround for a tooling / classifier / sandbox limitation.
- A design constraint that, if forgotten, would be re-discovered painfully.
What does not count:
- Routine typos, missing imports, version bumps, refactors.
- Anything obvious from reading the code or running
go vet.
If you're not sure: log it — but only for pitfalls produced by the change at hand; if you stumble on something unrelated mid-task, name it in your final message instead of expanding the diff, and let the user decide whether it deserves an entry. Cheap to add, expensive to recover from memory months later.
Architecture (non-negotiable)
- DeepSeek-first, two-tier providers.
pkg/deepseekis a first-class client with DeepSeek-specific fields (cache metadata, FIM endpoint, reasoner content).pkg/llmis a thin generic interface for second-tier providers (Anthropic / OpenAI / Gemini — landing in M6). pkg/deepseekmust not importpkg/llm(CI lint enforces this — see.github/workflows/ci.yml). The whole point of the split is that DeepSeek-specific optimisations don't get lowered into a generic interface.- Skill subsystem (v2): read-only loader in
internal/skill(Anthropic Agent Skills layout:<dir>/SKILL.md+ frontmatter); install/uninstall/update ininternal/skillmgr; call-stats JSONL ininternal/skillstats; shared CLI/TUI dispatcher ininternal/skillcli. Loader is the only path that runs at startup; everything else is on-demand. Never add filesystem writes under~/.seek/skills/outsideinternal/skillmgrandinternal/skillstats— those are the only two packages allowed to mutate user-level skill state. - Plan-mode subsystem (v2 + v2.x): confirmation-gated workflow
analyze → propose → execute → adjust → report. Driven by theproposetool (internal/tools/propose/) and progress-tracked by theplantool (internal/tools/plan/). Substate state machine lives inpermission.Policy(Mode / preApproved flag) + agent mode reminder + TUI status bar; transcript event-sourcing reconstructs state onseek -resume(seeplan/reconstruct.go). Plan-approval artifacts (write-once markdown snapshots) land in~/.seek/projects/<id>/plans/viaplan/artifact.go. Full design + status table indocs/prd/feature-plan-mode.md. - i18n (view layer only): catalogue in
internal/i18n(i18n.T; every key goes in ALL catalogues — parity-tested). Human-facing prose only; LLM-visible strings and the status bar stay English (prefix-cache bytes + width oracle). Language resolves once per session;/langis the only runtime swap. Design + scope:docs/prd/feature-i18n.md. - See
docs/prd/for the full PRD series: v0 initial, v1 Memory, v2 Skill lifecycle, plus standalone feature PRDs (feature-plan-mode.md,feature-webfetch.md,feature-permission-refactor.md,feature-active-memory.md,feature-mcp-client.md, …).
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.
- 1mo ago Changed · -5 lines · -164 tokens per session 943801f91963
- 1mo ago First seen · 156 lines · 5,032 tokens per session scan A bdabbbf8dcc2
seek CLAUDE.md is an instructions file published in the GitHub repository whyiyhw/seek (22 stars, last pushed 1mo ago), licensed MIT. It adds 4,868 tokens to every session, about $0.0195 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 86% identical to seek AGENTS.md, differing in 26 lines, and is treated as a copy.
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).
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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 copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.