chain-load
加载一条链以恢复之前工作的上下文。在处理相关主题时随时使用 - 主动搜索并建议相关链。
📖 中文导读:加载一条链以恢复之前工作的上下文。在处理相关主题时随时使用 - 主动搜索并建议相关链。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: chain-load description: Load a chain to restore context from previous work. Use anytime when working on related topics - proactively search and suggest relevant chains.
Chain Load - Load Work Context
Load chain links to restore context. Can be used anytime, not just at session start.
Usage
/chain-load [chain-name]
/chain-load [search-query]
Proactive Behavior
When working on a task, proactively check for relevant context:
- Use
tinymem_chain_searchto find chains matching current work topic - Use
tinymem_searchto find individual memory segments - Suggest loading relevant chains or segments to the user
Segments vs Chains:
- Segments (memories): Individual insights via
tinymem_search+tinymem_get - Chains: Full workflow context via
tinymem_chain_load
Instructions
Find Chain:
- If exact chain-name provided → use
tinymem_chain_load - If query provided → use
tinymem_chain_searchfor fuzzy matching - If nothing provided → use
tinymem_chain_listto show all
- If exact chain-name provided → use
Load Chain Links - Call
tinymem_chain_load:chain_name: the chain to loadlimit: 5 (default, most recent links)
Parse and Present Context - Extract from XML:
- Previous summaries
- Decisions with rationale
- Code changes history
- Outstanding issues
- Next steps
Output Format
## Chain: [name] ([count] links)
### Latest: [slug] - [date]
<summary and next-steps from most recent link>
### Context
<key decisions and history from older links>
### Suggested Action
[Next step based on chain state]
Examples
User: /chain-load auth-feature
→ Loads auth-feature chain
User: /chain-load auth
→ Searches chains matching "auth"
User working on auth code (proactive): → Agent: "Found chain 'auth-feature' with 3 links. Load context?"