add_knowledge
Record cross-agent lessons in ops-brain: gotchas, safety/compliance rules, verified patterns, and vendor behavior; duplicates return existing entries unless forced.
Instructions
Add a knowledge entry. Cross-agent only: gotchas, safety/compliance rules, verified patterns, vendor behaviour. Host-local lessons belong in your own docs, not here. Requires author (your agent slug). Near-duplicates are returned instead of created unless force.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Free-form tags for retrieval. Keep them few and reusable. | |
| force | No | Skip duplicate detection check. Set to true if you've already seen the warning and want to create anyway. | |
| title | Yes | ||
| author | Yes | Your agent identifier (free-form slug, 1–80 chars, [a-zA-Z0-9._-]). Examples: "Claude-Laptop", "Codex-Buildbox". Immutable once set — provenance cannot be rewritten via the tool surface. | |
| content | Yes | ||
| category | No | Free-form grouping label, e.g. "gotcha", "pattern", "vendor". Used by browse-mode filtering in `search_bus`. | |
| client_slug | No | Scope this entry to the owning client (slug). Leave `cross_client_safe` false unless the content is genuinely global. | |
| cross_client_safe | No | Allow this entry to surface in other clients' contexts (default: false) |