/verity:learnfrom Verity by Codacy
Views and manages durable project knowledge (decisions, patterns, gotchas, conventions) accumulated by Verity analysis runs. Supports listing, adding, and archiving lessons via CLI or memory graph.
Ships in Verity by Codacy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Project knowledge is durable insights extracted from analysis runs — decisions, patterns, gotchas, and conventions. When the memory graph is enabled (memory_graph_enabled), this skill delegates to the graph. Otherwise, it uses flat lessons.
The service URL. verity config service-url prints the service only when $VERITY_TOKEN may be sent there. When it refuses, for a URL that only this repository's VERITY.md names or a VERITY_TOKEN this repository's .claude settings set, it prints nothing and the && below stops the request. Tell the user its message; never type the URL in by hand.
When the memory graph is active, /verity:learn delegates to /verity:memory. Use these commands:
ls .verity/memory/*/ or see /verity:memory listcat .verity/memory/<domain>/<slug>.md or see /verity:memory show <node_id>/verity:memory walk --files <files>/verity:memory add <kind> "<title>"For full documentation, use /verity:memory.
VERITY_URL="$(verity config service-url)" && curl -s -H "Authorization: Bearer $VERITY_TOKEN" \
"$VERITY_URL/compound/lessons" | jq '.lessons[] | {id, kind, title, confidence}'
VERITY_URL="$(verity config service-url)" && curl -s -X POST -H "Authorization: Bearer $VERITY_TOKEN" \
-H "Content-Type: application/json" \
"$VERITY_URL/compound/lessons" \
-d @- <<'VERITY_EOF_<random>'
{
"kind": "gotcha",
"title": "RLS policies and cleanup cron are coupled",
"body": "Changing RLS policies without updating the cleanup cron will break retention.",
"file_globs": ["server/supabase/migrations/**"]
}
VERITY_EOF_<random>
The body is read from the quoted heredoc (-d @-), never from a '…' string on
the command line, where a quote or $(…) in the user's words would run in the
shell. Inside it is plain JSON: escape " as \" and \ as \\.
Replace <random> with 8 random letters and digits that you pick for this call,
the same at both ends. Text written before you picked them cannot contain the
line that ends the heredoc, so it cannot end it early.
Valid kinds: bug_pattern, architectural_decision, gotcha, preferred_convention, false_positive_rule, intent_template.
VERITY_URL="$(verity config service-url)" && curl -s -X PATCH -H "Authorization: Bearer $VERITY_TOKEN" \
-H "Content-Type: application/json" \
"$VERITY_URL/compound/lessons/<lesson-id>" \
-d '{"status": "archived"}'
VERITY_URL="$(verity config service-url)" && curl -s -X POST -H "Authorization: Bearer $VERITY_TOKEN" \
-H "Content-Type: application/json" \
"$VERITY_URL/compound/extract" \
-d @- <<'VERITY_EOF_<random>'
{"task_id": "<task-uuid>"}
VERITY_EOF_<random>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub codacy/verity --plugin verity11 skills in this plugin
/analyze/verity:analyze — Run Verity analysis on demandRun an independent AI review of the current change on demand — a second opinion on quality, security, and whether the code matches its stated intent. Use when the user asks to review, check, or analyze code before committing, or to get an independent check on work you have just finished./feedback/verity:feedback — Send feedbackSend the user's feedback about Verity to the Verity team, verbatim. Use only when the user explicitly asks to send feedback./init/verity:init — set Verity up in this project