Home / Market / never-twice

never-twice

Self-improving agent that never repeats a mistake. Learns from every correction and failure, remembers why, and checks only the relevant lessons before acting. Local-first, open source.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

Never Twice

Your agent never repeats a mistake. Correct it once ("no, we use pnpm here, npm breaks our lockfile") and next time it checks that lesson before acting, and tells you it did.

Other self-improving skills write lessons down. Never Twice makes sure they're used: before a task, the agent checks only the few lessons that match it.

What this skill can access

| | | |---|---| | Reads | the one-line task description the agent passes to cognicore lesson check | | Writes | ~/.cognicore/mcp/lessons.db only | | Network | none | | Shell commands | only cognicore lesson … | | Secrets | none needed; lessons are passed through secret redaction before they're stored |

Install

pipx install "cognicore-env>=0.13"       # or: uv tool install "cognicore-env>=0.13"
openclaw skills install @cognicore-dev/never-twice

The cognicore command is open source (Apache 2.0). The lesson store is one file: cognicore/lessons.py.

How it works

Review or delete

cognicore lesson list            # this project's and global lessons
cognicore lesson list --all      # every project
cognicore lesson forget 12       # delete lesson #12

To wipe everything, delete ~/.cognicore/mcp/lessons.db.

Uninstall

Remove the skill in OpenClaw, then:

pipx uninstall cognicore-env     # removes the cognicore command; lessons.db stays until you delete it