[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112693":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":37,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":13,"starSnapshotCount":13,"syncStatus":41,"lastSyncTime":42,"discoverSource":43},112693,"lean-agents","linsaftw\u002Flean-agents","linsaftw","~70% Faster & Less Tokens, The only AI coding workflow you need. Tested on DeepSeek.","",null,"TypeScript",75,0,1,3,4,43.9,"MIT License",false,"main",true,[23,24,25,26,27,28,29,30,31,32,33,34,35,36],"agent","agent-skill","agent-skills","agentic-ai","agentic-workflow","agents","ai","artificial-intelligence","llm","llm-agents","llms","skill","skill-md","skills","2026-11-16 21:32:09","2026-11-22 09:52:46","# Lean Agents\n\nShort prompts for coding agents. Less text per turn, one clear rule set.\n\nSee `BENCHMARK.md` for the tests so far.\n\n## How it works\n\n`AGENTS.md` is the one shared policy. Two roles:\n\n| Role | Who | Does |\n| --- | --- | --- |\n| `ORCHESTRATOR` | Primary agent (`build`) | Small single fixes itself. Features, refactors and multi-file work go to a worker, one per independent task. |\n| `CODER` | Worker (`general`, or `worker` on Codex) | Investigates, edits, tests, repairs inside its scope. Never delegates. |\n\nUp to 10 workers run in parallel on independent tasks; the primary waits for all. Agents never ask the user questions; they resolve things themselves. Delete the `## Questions` section in `AGENTS.md` if you want questions back.\n\n## What's inside\n\n| Path | What |\n| --- | --- |\n| `AGENTS.md` | Shared policy: roles, routing, engineering, output. |\n| `agents\u002F` | Agent files: `build.md` (primary), `general.md` \u002F `worker.toml` (CODER), plus optional `lean-*` and `explore` helpers. |\n| `skills\u002Flean-code` | Smallest complete change, lean pass after coding, dedup. Load for all coding. |\n| `skills\u002Flean-java` | Java\u002FJVM: Maven, Gradle, JUnit, concurrency, Spring. |\n| `skills\u002Flean-web` | JS\u002FTS, Node, React\u002FNext.js, Fastify, auth, tests. |\n| `skills\u002Flean-plan` | Plan a feature from scratch. |\n| `extensions\u002F` | Pi: `subagent` tool for `general`. |\n| `mods\u002F` | Command Code: loads the `build` prompt. |\n| `plugins\u002F` | Legacy OpenCode no-op, kept so old installs get overwritten. |\n| `.chatgpt\u002F` | Prompt for ChatGPT projects that write plans for coding agents. |\n\nAgents load the skills that fit the task and workspace.\n\n## Install\n\nPut `AGENTS.md` at the repo root (or the host's global instructions path). Start a fresh session and check it loaded. Merge with existing config; don't overwrite.\n\n- **OpenCode:** copy `agents\u002Fbuild.md` and `agents\u002Fgeneral.md` to `.opencode\u002Fagents\u002F` or `~\u002F.config\u002Fopencode\u002Fagents\u002F`. Set `default_agent: \"build\"`.\n- **Claude Code:** copy the same two files to `.claude\u002Fagents\u002F` or `~\u002F.claude\u002Fagents\u002F`. Run `claude --agent build`. Add `@AGENTS.md` to `CLAUDE.md` if needed.\n- **Codex:** copy `agents\u002Fworker.toml` to `.codex\u002Fagents\u002F`. Turn on multi-agent. Root `AGENTS.md` makes Codex the orchestrator.\n- **Command Code:** reads `AGENTS.md`. Optional: install `mods\u002Flean-primary.ts` (keep `agents\u002Fbuild.md` beside it). Its built-in `general` can't be overridden, so give `Role: CODER` in the handoff.\n- **Pi:** use `extensions\u002Flean-subagents.ts` (keep `agents\u002Fgeneral.md` beside it). Load `AGENTS.md` yourself if the host doesn't.\n\n## Limits\n\nPrompts are not enforcement. The model may skip delegation. Check the first tool calls of a fresh session.\n\n## License\n\nMIT. See `LICENSE`.\n","Lean Agents 是一个面向 AI 编程代理（LLM-based coding agents）的轻量级工作流框架，旨在通过精简提示词、明确角色分工（ORCHESTRATOR 与 CODER）和按需加载技能（skills）来提升编码任务执行效率与可靠性。其核心特点是单轮文本更少、Token 消耗降低约 70%，支持多 worker 并行处理独立子任务，且全程无需用户介入提问。适用于基于 LLM 的自动化代码生成、重构、测试修复及跨文件功能开发等工程化编程场景。",2,"2026-11-24 04:43:52","CREATED_QUERY"]