cognition-editor
FreeNo executable scriptsNot checkedCreate or edit durable cognition and ontology through governed tools; For: 'remember this as a preference', 'create this project fact', 'change this rule'…
by bonc-ai★ 19 GitHub starsAbout this skill
Create or edit cognition
When to use
use_when:
- The user explicitly requests creating or saving durable cognition or ontology.
- The user explicitly names existing cognition and requests a bounded edit.
- A stored fact needs correction or a dated real-world change.
do_not_use_when:
- The user only asks a task question or provides material without requesting durable creation or an existing-record edit.
- The user asks to bypass source revocation, enable paused content implicitly, or write raw storage.
Separate an explicit creation request from an edit of an existing target. Ordinary task answers and facts discovered during work do not authorize saving durable content. Do not promise to create a candidate without an available tool and its actual receipt.
Preconditions and result
Use the current host-provided task and owner context; never invent identity or authorization. The required tools must be available. Return a short account of the actual state and changed content; retain the returned decision/version references as audit_refs. See references/input-contract.md and references/output-contract.md for the guide contract.
Create new cognition or ontology
- Confirm that the current user asks to create or save durable content. Keep the request's topic and boundaries; do not treat an assistant suggestion or a routine acknowledgment as authorization. The host verifies the actual user message, not an identity supplied in tool arguments.
- Inspect relevant existing items and ontology structures to avoid duplicates or invented identities. If the request actually changes an existing item, use the edit workflow. Do not choose another target merely to avoid a conflict.
- Call
create_cognitionwithtarget="cognition","ontology", or"joint", the complete supported content and conditions, any necessary new ontology actions, and the actual baseline. For ontology-only creation, provideexplanationwith the complete change description, title, future use and scope; do not invent a cognition asset. The host owns source references and the complete creation decision. For a joint shared rule, its requirement must be the same complete cognition body; do not keep an independent second copy. Do not invent executable conditions or effects from natural-language obligations. If validation reports field paths, correct that bounded argument shape. Never evade a requested joint save by splitting it into separate writes, dropping the ontology, removing meaningful fields or trying another target. - Use
mode="apply_if_authorized"or omit it for a normal creation request. The host displays the complete new content, conditions, scope and associated ontology for one human confirmation before saving. Do not ask a separate conversational confirmation first. Usemode="propose"only when the user asks to preview without saving; it does not open approval or create formal content. - Report only the actual returned state, new identity/version and receipt. Cancellation, a stale baseline or unavailable source is not a successful creation. Saving does not raise maturity or bypass ordinary next-turn qualification.
Edit an existing target
- Resolve the named existing target. Use
list_ability_assetsfor asset metadata. Read the target withread_ability_assetandmode="manage", orcognition_ontology_querywithmode="manage"and its record ID or exact name. Read every body chunk and the applicability and exclusion conditions. Ask the user to choose when names are ambiguous. - Preserve everything outside the requested change. For one quoted fragment, pass
replaceText={"before":"exact old fragment","after":"exact replacement"}; the old fragment must occur exactly once. For a whole new body usefields.statementinstead. Never send both body representations, and never put the unchanged old body infieldsas a baseline: use the version fields for that. Other explicit field changes also usefields. Do not silently paraphrase a precise user replacement. A rejected argument-shape error that saved nothing may be corrected within the same bounded turn; a human rejection is not permission to try again. - Call
edit_cognitionwith the existing target, changes, returned version baselines, the reason, andmode="apply_if_authorized"(the default). This is the normal edit path even when you draft or polish the new wording: the host presents the complete preview and waits for one human decision before saving when needed. Do not chooseproposemerely because you wrote the wording, and do not add a separate conversational confirmation. Usemode="propose"only when the user explicitly asks to see a plan/preview without saving yet; that mode returns preview text, requests no approval, and saves nothing. For a factual correction usefactIntent="correct"; for a real-world change usefactIntent="change"and the user's effective date. Do not guess that date. - Let the host resolve shared rule ownershi
Install cognition-editor in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the cognition-editor skill do?
Create or edit durable cognition and ontology through governed tools; For: 'remember this as a preference', 'create this project fact', 'change this rule'; Triggers: create cognition, remember this, edit cognition, correct ontology, change preference.
How do I install the cognition-editor skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the cognition-editor skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic