{"slug": "never-twice-dont-let-the-ai-agent-do-mistake-again", "title": "Never Twice dont let the AI agent do mistake again", "summary": "CogniCore released Never Twice, an open-source, local-first agent skill installed via `openclaw skills install @cognicore-dev/never-twice`, that records lessons from agent corrections and failures and checks them before acting. Lessons are stored in a local SQLite database at `~/.cognicore/mcp/lessons.db`, matched by words in a described action, and can be reviewed with `cognicore lesson list` or removed with `cognicore lesson forget <id>`. The skill is meant to be checked before tasks that change something — installing or removing packages, editing code or config, running tests, builds or migrations, committing, pushing or deploying — and skipped for questions, explanations and reading files.", "body_md": "### Install\n\n```\nopenclaw skills install @cognicore-dev/never-twice\n```\n\nSelf-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.\n\nYou learn from mistakes and never repeat them. Lessons are stored by the `cognicore` command and checked before you act.\n\nCheck lessons before any task that changes something: installing or removing packages, editing code or config, running tests or builds, running migrations, committing, pushing or deploying. Skip the check for questions, explanations and reading files.\n\nRun:\n\nDescribe the kind of action in general words as well as the specifics, for example\n`\"install a package: add axios\"` or `\"format dates in the invoice export\"`. Lessons are matched by words.\n\nIf it prints lessons, follow them, and tell the user in one short line which lesson you applied, for example: \"Using pnpm (lesson: npm breaks this repo's lockfile).\" If it prints nothing, carry on; there is nothing to apply. If a lesson clearly doesn't apply to this task, ignore it and don't mention it.\n\n`--why`. One lesson per mistake, each field one sentence.`--when` names the situation broadly (\"installing or adding packages\", \"writing dates\"), so the lesson is found next time even when the task is worded differently.`--scope global` only for lessons that apply in every project; the default is this project.\nLessons are stored locally in the CogniCore data folder (`~/.cognicore/mcp/lessons.db`). Nothing leaves this machine.\nUsers can review lessons with `cognicore lesson list` and delete one with `cognicore lesson forget <id>`.", "url": "https://wpnews.pro/news/never-twice-dont-let-the-ai-agent-do-mistake-again", "canonical_source": "https://clawhub.ai/cognicore-dev/skills/never-twice", "published_at": "2026-11-13 13:23:39+00:00", "updated_at": "2026-11-13 13:51:36.412273+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-safety"], "entities": ["CogniCore", "Never Twice", "OpenClaw", "cognicore"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/never-twice-dont-let-the-ai-agent-do-mistake-again", "markdown": "https://wpnews.pro/news/never-twice-dont-let-the-ai-agent-do-mistake-again.md", "text": "https://wpnews.pro/news/never-twice-dont-let-the-ai-agent-do-mistake-again.txt", "jsonld": "https://wpnews.pro/news/never-twice-dont-let-the-ai-agent-do-mistake-again.jsonld"}}