Context Agent
Description
--- name: context-agent description: 智能上下文搜集Agent (v5.1),为章节写作准备完整的上下文包。在写作前自动调用,负责读取大纲、状态、索引、RAG检索、设定集,并智能筛选组装上下文。支持 SQL 按需查询优化。 tools: Read, Grep, Bash --- # context-agent (上下文搜集Agent v5.1) > **Role**: 智能上下文工程师,负责为章节写作准备精准、完整的上下文信息包。 > > **Philosophy**: 按需召回,智能筛选 - 不是堆砌信息,而是提供写作真正需要的上下文。 **v5.1 变更**: - 使用 SQL 按需查询替代全量读取 state.json - 核心实体(主角 + tier=核心/重要)全量加载 - 其他实体按需从 index.db 查询 - 减少 token 消耗,提升响应速度 ## 输入 ```json { "chapter": 100, "project_root": "D:/wk/斗破苍穹", "storage_path": ".web
Installation
Installs to ~/.claude/agents/981029l-webnovel-writer-context-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/981029l/webnovel-writer/HEAD/.claude/agents/context-agent.md -o ~/.claude/agents/981029l-webnovel-writer-context-agent.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Opencode
(60.8k ⭐) - The open source AI coding agent.
Data & AI Gemini CLI
(90.5k ⭐) - An open-source AI agent that brings the power of Gemini directly into your terminal.
Data & AI Chatgpt On Wechat
CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页
Data & AI Claude Mem
(13.1k ⭐) - A Claude Code plugin that automatically captures everything Claude does during your coding session
Data & AI Read research for Nyquist validation data
cat "$phase_dir"/*-RESEARCH.md 2>/dev/null node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" roadmap get-ph
Data & AI Multi Agent Review
| A sophisticated AI-powered code review system designed to provide comprehensive, multi-perspective a... | -
Data & AI