KScript docs
EN

Coding agents

What gets written

File What it holds Size
AGENTS.md Links to the symbol index and package references, a short KScript example, project-specific feature guidance and a checklist up to about 2,100 tokens plus project guidance
CLAUDE.md @AGENTS.md, so Claude Code reads the same file (made by kscript make project) 1 line
.kscript/agents/index.md The project's routes, then one line per top-level fn, type, enum and const, by file up to about 4,000 tokens
.kscript/agents/packages/<name>.md Package guidance and one line per command, method and statement up to about 7,000 tokens each

Only packages the project uses get a file, and a file whose package is no longer used is removed. When a file would go over its budget, it stops at a whole entry and says how many were left out; the kscript mcp server has the rest. KScript leaves AGENTS.md and CLAUDE.md out of script checking, formatting, testing and serving.