Iterative Retrieval
affaan-m/ECC
Pattern for progressively refining context retrieval to solve the subagent context problem.
知识库共享检索:绑定资料范围,关键词召回、来源和时间辨析、渐进阅读、双链追溯与证据核验。由查询、预测、了解度和构建 Skill 按需调用;不负责回答格式、未来推演或写入。
$ npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lihaozheCharlie/the-way-here common-retrieval --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .claude/skills && cp -r skills-src/knowledge-engine/skills/common/retrieval .claude/skills/common-retrieval && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "common-retrieval" agent skill from https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrieval into .claude/skills/common-retrieval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-retrieval", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrievalType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lihaozheCharlie/the-way-here common-retrieval --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .agents/skills && cp -r skills-src/knowledge-engine/skills/common/retrieval .agents/skills/common-retrieval && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "common-retrieval" agent skill from https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrieval into .agents/skills/common-retrieval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-retrieval", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lihaozheCharlie/the-way-here common-retrieval --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/knowledge-engine/skills/common/retrieval .cursor/skills/common-retrieval && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "common-retrieval" agent skill from https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrieval into .cursor/skills/common-retrieval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-retrieval", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lihaozheCharlie/the-way-here.git --path knowledge-engine/skills/common/retrieval--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lihaozheCharlie/the-way-here common-retrieval --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/knowledge-engine/skills/common/retrieval .gemini/skills/common-retrieval && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "common-retrieval" agent skill from https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrieval into .gemini/skills/common-retrieval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-retrieval", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lihaozheCharlie/the-way-here common-retrievalInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .github/skills && cp -r skills-src/knowledge-engine/skills/common/retrieval .github/skills/common-retrieval && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "common-retrieval" agent skill from https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrieval into .github/skills/common-retrieval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-retrieval", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lihaozheCharlie/the-way-here common-retrieval --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lihaozheCharlie/the-way-here.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/knowledge-engine/skills/common/retrieval .opencode/skills/common-retrieval && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "common-retrieval" agent skill from https://github.com/lihaozheCharlie/the-way-here/tree/main/knowledge-engine/skills/common/retrieval into .opencode/skills/common-retrieval/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "common-retrieval", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
common-retrieval知识库共享检索:绑定资料范围,关键词召回、来源和时间辨析、渐进阅读、双链追溯与证据核验。由查询、预测、了解度和构建 Skill 按需调用;不负责回答格式、未来推演或写入。
Common Retrieval is an agent skill from lihaozheCharlie/the-way-here. 知识库共享检索:绑定资料范围,关键词召回、来源和时间辨析、渐进阅读、双链追溯与证据核验。由查询、预测、了解度和构建 Skill 按需调用;不负责回答格式、未来推演或写入。
Its SKILL.md is about 400 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/source-policy.json`, `references/tools.md` and `scripts/evidence_reader.py`).
The repository describes itself as: the-way-here:想成为一个会记得你的来时路、越聊越懂你的朋友。 The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 760d128. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python and TypeScript), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Common Retrieval loads about 399 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 26 tokens; SKILL.md has 48 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from lihaozheCharlie/the-way-here at commit 760d128, republished under its MIT licence (© lihaozheCharlie). 48 words, ~399 tokens.
.claude/skills/common-retrieval/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.查询、预测、评估或构建需要检索知识库时加载。调用者决定问题、检索深度、允许资料范围和停止标准;本 Skill 只提供检索与证据边界,不自动运行预测、不授权写入、不要求调用 consume/query。
工具按 来源提示配置 给目录角色和词语线索;这些不是语义分类结论。按段落判断本人经历、直接自述、他人经历/书摘、用户评论、愿望/计划、行动/结果和综合推断。书中第一人称可能属于作者;记过笔记只证明接触/关注,明确认同与实际行动要分别保留。索引、日志和生成回信不能充当独立个人事实,但查询这些内容本身时仍然可检索。
时间分记录日期、事件时间、适用范围和综合覆盖时间。源文件记录日期候选暂取 Start,其次文件名,冲突必须回读;正文日期、年份和相对时间按具体语句解释,不取全文最大日期。end 或文件修改时间不能证明当前状态。未来计划、历史回忆、条件假设不能混为已发生事件;未知保留范围或原表达。
同一事件的日记、综合、索引和回信合并为一条来源链。重要结论优先追原始证据;无法追溯则标记为综合判断。明确撤回限制旧判断,但较新的转述不自动推翻更直接的证据。记录频率不是生活占比,没搜到不等于从未发生。
交付相关页面、核实过的短引文和位置、来源角色/时间的不确定性、关联来源、重复与矛盾线索、仍未解决的缺口。无需统一报告模板或暴露内部推理。调用者负责回答、未来情景、了解度评分或 Wiki 修改;是否需要概率、四维覆盖和行动建议不在本层决定。
修改此 Skill、配置或工具后运行 common-quality-gate,并验证普通查询、冻结预测和构建检索均保持范围隔离。
© lihaozheCharlie, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in knowledge-engine/skills/common/retrieval of lihaozheCharlie/the-way-here.
Open the folder on GitHubat commit 760d128
Common Retrieval next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Common Retrieval this skilllihaozheCharlie/the-way-here | 145 | — | ~399 | Automated safety check: Pass | MIT | |
| Iterative Retrievalaffaan-m/ECC | 277k | 7 repos | ~1.6k | Automated safety check: Pass | MIT | |
| Iterative Retrievalaffaan-m/ECC | 277k | 2 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Iterative Retrievalaffaan-m/ECC | 277k | 2 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Iterative Retrievalaffaan-m/ECC | 276k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Retrieval Reflexgarrytan/gbrain | 31k | — | ~735 | Automated safety check: Pass | MIT |
affaan-m/ECC
Pattern for progressively refining context retrieval to solve the subagent context problem.
affaan-m/ECC
サブエージェントのコンテキスト問題を解決するために、コンテキスト取得を段階的に洗練するパターン. An agent skill from affaan-m/ECC.
affaan-m/ECC
서브에이전트 컨텍스트 문제를 해결하기 위한 점진적 컨텍스트 검색 개선 패턴. An agent skill from affaan-m/ECC.
affaan-m/ECC
逐步优化上下文检索以解决子代理上下文问题的模式
garrytan/gbrain
When/what to retrieve — open the brain page for a salient entity before answering from memory.
ComposioHQ/awesome-claude-skills
Automate Remote Retrieval tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.
lihaozheCharlie/the-way-here
为个人 Wiki 的查询、回信和解释性构建提供可动态发现的人物推理视角。它只改变怎样理解证据,不构成新证据,也不决定是否写入。
lihaozheCharlie/the-way-here
验证 wiki 或 Skill 修改是否满足证据、归档、前置元数据、生成索引安全、链接和完成标准;纯健康检查保持只读. An agent skill from lihaozheCharlie/the-way-here.
lihaozheCharlie/the-way-here
分析、设计、验证或更新本 wiki 的 Codex Skill 体系、AGENTS.md 唯一路由、职责图和验证规则。当前目标只要求分析时保持只读。
lihaozheCharlie/the-way-here
在普通对话、wiki 维护或路由诊断中扫描可沉淀信号;本 Skill 只分类,是否更新由 Agent 结合当前目标判断。
lihaozheCharlie/the-way-here
以只读方式回答个人 wiki 问题:先检索综合页面,仅在需要证据时查原始笔记。不要用于摄取或修改 wiki. An agent skill from lihaozheCharlie/the-way-here.
lihaozheCharlie/the-way-here
预测页主动触发:只读绑定知识库的冻结资料,生成有证据的五年生活情景。
知识库共享检索:绑定资料范围,关键词召回、来源和时间辨析、渐进阅读、双链追溯与证据核验。由查询、预测、了解度和构建 Skill 按需调用;不负责回答格式、未来推演或写入。. Common Retrieval is an agent skill from lihaozheCharlie/the-way-here.
Run `npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a claude-code`. Or copy the skill folder (knowledge-engine/skills/common/retrieval in lihaozheCharlie/the-way-here) into .claude/skills/common-retrieval in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a codex`. Or copy the skill folder (knowledge-engine/skills/common/retrieval in lihaozheCharlie/the-way-here) into .agents/skills/common-retrieval in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lihaozheCharlie/the-way-here --skill common-retrieval -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/common-retrieval, .gemini/skills/common-retrieval, .github/skills/common-retrieval and .opencode/skills/common-retrieval in your project.
Going by SKILL.md and its folder, Common Retrieval needs Python and TypeScript for the scripts in its folder. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Common Retrieval is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 399 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 932 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Common Retrieval: Iterative Retrieval (affaan-m/ECC, 277k stars), Iterative Retrieval (affaan-m/ECC, 277k stars), Iterative Retrieval (affaan-m/ECC, 277k stars) and Iterative Retrieval (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lihaozheCharlie (a GitHub user) maintains it in lihaozheCharlie/the-way-here, which has 145 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 9, 2026.
Source: lihaozheCharlie/the-way-here on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.