一键导入
tau-memory
Use when an agent needs to retrieve, preserve, or maintain durable organization or project knowledge across sessions using Tau memory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when an agent needs to retrieve, preserve, or maintain durable organization or project knowledge across sessions using Tau memory.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
DeFi conventions, decimal handling, and protocol integration patterns used in this project. Load when working with token amounts, price conversions, or protocol interactions.
Run Solidity smart contract tests using Foundry forge
Run the full end-to-end integration test suite
Build all project components (Solidity contracts and Rust WASM)
Check the health and state of a deployed SmartVault by querying on-chain data
Deploy smart vault contracts to a local Anvil fork
| name | tau-memory |
| description | Use when an agent needs to retrieve, preserve, or maintain durable organization or project knowledge across sessions using Tau memory. |
Tau is durable shared memory, not scratch space. Every memory operation must target an explicit squad vault, and every write must preserve useful context for future humans and agents.
Tau memory is shared by remote squad agents and local developer agents. They often work on the same repositories, but in different checkouts and execution environments.
/workspace/..../Users/.../project.project-name/packages/shared/src/.... These are representative paths that tell future agents where to look without depending on one machine's absolute checkout location./workspace/<repo-rooted-or-relative-path> to the local checkout only when the mapping is clear./workspace/... if it describes squad-specific runtime or execution context, but also add a repo-rooted path when possible.Use Tau memory for durable knowledge such as:
Do not use Tau memory for:
Before reading, searching, writing, patching, appending, or deleting memory:
Use the Tau CLI path shown in the generated Installed Tau CLI section below.
tau when it is on PATH; otherwise ask the human to install/configure Tau CLI.Run tau squad list.
Select the squad UUID:
Copy the squad UUID.
Use --squad <squad-id> on every tau memory ... command.
Read the squad's routing and context files before any search/write/update/delete:
tau memory get /memory/map.md --squad <squad-id>
tau memory get /memory/context.md --squad <squad-id>
Search/read related memory before answering from memory or modifying memory.
If writing, choose the destination and conventions from /memory/map.md.
Prefer precise patch/append operations over full-file overwrite.
Re-read modified files to verify final content.
Tell the human or calling agent which memory paths changed.
Never rely on an implicit default squad when multiple squads are available. If the correct squad is unclear, ask the human or search/read only in explicitly confirmed squads.
Treat /memory/context.md as always-on context for the selected squad. Re-read it when starting a new session or switching squads.
Treat /memory/map.md as the vault routing guide. Use it to decide where new durable knowledge belongs and which frontmatter, tags, wikilinks, paths, or naming conventions to follow.
If either file is missing, continue read/search cautiously. Create or update map/context only when explicitly asked or when maintaining the vault is part of the task. If unsure, search/read only; do not write.
Before writing or modifying memory:
/memory/.---
title: 'API Error Handling Pattern'
kind: pattern
tags: [api, errors]
---
# API Error Handling Pattern
Durable guidance with source paths and rationale.
Common kind values include decision, pattern, playbook, reference, and incident; follow /memory/map.md if it defines different conventions.
Use wikilinks when helpful:
See [[API Error Handling Pattern]] and [[Deploy Runbook#Rollback]].
tau memory search "authentication flow" --squad <squad-id> --limit 5tau memory list /memory/patterns --squad <squad-id>tau memory get /memory/patterns/api-errors.md --squad <squad-id>tau memory write /memory/patterns/api-errors.md --squad <squad-id> < api-errors.mdtau memory append /memory/runbooks/deploy.md --squad <squad-id> --newline --content "..."tau memory patch /memory/patterns/api-errors.md --squad <squad-id> --match "old exact text" --replace "new text"tau memory backlinks /memory/patterns/api-errors.md --squad <squad-id>For detailed CLI examples, see CLI_REFERENCE.md. For HTTP fallback examples, see HTTP_REFERENCE.md.
Memory writes are not immediately searchable through hybrid/vector search. write, patch, append, and delete operations schedule a throttled memory-file reindex for the squad. The default throttle interval is 60 seconds: updates are indexed at most once per minute per squad, and continued updates can trigger another reindex on the next interval rather than postponing indexing indefinitely. Read the file directly with memory get when you need to verify a just-written path immediately.
This skill assumes Tau CLI or HTTP access is already configured. Do not turn normal memory tasks into installation work unless the human explicitly asks for setup help. To install the skill into a project, use tau skill install tau-memory --agent <pi|claude-code|codex> from the project root.
Never print, commit, or write TAU_PASSWORD or $HOME/.tau/cli/auth.json contents into memory.
Use this exact Tau CLI path in every Tau command from this skill. Do not rely on shell variables persisting between commands.
tau