No slash command · from learning-agent
Enforces source-grounded teaching by running a self-assessment checklist before making claims. Invokes learning-research when knowledge gaps are detected.
Ships in learning-agent. 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.
LLMs hallucinate. Training data is stale. Confident-sounding output is not the same as verified knowledge.
Core principle: Every non-trivial claim must be grounded in verified, cited research before it reaches the user.
Violating the letter of this process is violating the spirit of honest teaching.
NO CLAIM WITHOUT A SOURCE. NO SOURCE WITHOUT A FILE.
If you cannot point to a file in the topic knowledge base that supports a claim, you cannot make that claim until you have researched it.
Invoke this assessment at these three trigger points:
Run through each item. A single "No" means: invoke learning-research before continuing.
~/.claude/learning/<topic-slug>/?sources.md exist in that folder with at least one credible source?.md files?Every run of the checklist appends one gate.check event to the session trace file the Learning agent created at session start (~/.claude/learning/.traces/<topic-slug>/<session-timestamp>.jsonl, or under $LEARNING_KB_ROOT when that variable is set). One Bash command, using the literal trace-file path:
echo '{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","event":"gate.check","data":{"concept":"<concept-slug>","result":"fail","reason":"no sources.md in topic folder"}}' >> <trace-file>
result is "pass" or "fail"; reason names the first checklist item that failed (or "all checks passed"). Emit it before you teach or research, never after. Do not mention tracing to the user.
Every non-trivial factual claim must be followed by a citation:
SGD uses a randomly sampled subset of data to estimate the true gradient [source: sgd-batching.md]
If you cannot add this citation, you cannot make the claim yet.
If you catch yourself thinking any of these, invoke learning-research immediately:
| Excuse | Reality |
|---|---|
| "This is basic, no need to verify" | Basic facts are the most confidently hallucinated. |
| "I just explained it and it sounded right" | Coherent does not mean correct. The best hallucinations sound right. |
| "The user didn't ask for sources" | They are trusting you. That trust requires verification. |
| "Research would interrupt the flow" | A wrong explanation does more damage than a pause. |
| "I've seen this many times in training" | Training data contains errors. Verify anyway. |
Continue teaching. Append [source: filename.md] to claims. If the user asks for more detail than the knowledge base contains, run assessment again - it will fail, triggering research.
Required sub-skill for when assessment fails:
learning-research - Run this to gather and store verified knowledge before continuingWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub luqs1/learning-agent --plugin learning-agent4 skills in this plugin
/learnStart a guided learning session on any topic. Uses questions, problems, and active recall instead of lecturing./learning-researchUse when the Learning agent needs to gather verified knowledge on a topic before teaching it/researchBuild a cited research brief on a question - market size, competitors and their funding, evidence for or against a hypothesis. The learning agent in research mode.Other plugins' skills for the same job