Publish or fetch learned patterns across projects via IPFS (Pinata) -- the cross-project pattern transfer that hooks_transfer enables
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-intelligence-transfer-d8bbc24c7199 ,按照其中的说明把「intelligence-transfer」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Cross-project pattern sharing via IPFS. Lets a different project — or a different machine — fetch and apply patterns this project has already learned.
Most learning is project-local. hooks_transfer is the escape hatch: publish patterns to IPFS, share the CID, and any peer can ingest them. Equivalent to "a deploy artifact for what your agents have learned."
# Required env var (or equivalent endpoint config)
echo $PINATA_API_JWT
If unset, hooks_transfer returns a structured success: false with error: "PINATA_API_JWT not configured". Configure before running this skill.
# Inspect what's stored locally first
mcp tool call neural_patterns --json -- '{"list": true}'
# Publish to IPFS — returns a CID
mcp tool call hooks_transfer --json -- '{"action": "store"}'
The response includes the IPFS CID. Save it; share it with peers who need the patterns.
# Pull a CID and apply locally
mcp tool call hooks_transfer --json -- '{"action": "load", "cid": "QmXyz..."}'
# Verify they landed
mcp tool call hooks_intelligence_pattern-search --json -- '{"query": "<test>", "limit": 5}'
Patterns are merged with local state, not replaced. Conflicts are resolved by recency (newer wins).
# Read patterns from a sibling project on disk and republish under a new CID
mcp tool call hooks_transfer --json -- '{"action": "from-project", "source": "/path/to/peer-project"}'
Useful for consolidating learnings across a monorepo or a fleet of related projects.
agentdb_consolidate does the local equivalent.aidefence_has_pii first) before publishing.agentdb_* export tools (out of scope here).ruflo-agentdb ADR-0001 §"Namespace convention" — defines pattern namespace that this transfer reads fromneural-train skill — produces the patterns that this skill ships