/prometheus-skill-pack:learn-certifyfrom prometheus-skill-pack
Certification endpoint for the Feynman learning loop. Runs prerequisite gates (feynman-artifacts, practice results, capstone), emits an Open Badges 3.0 / W3C Verifiable Credential self-issued JSON-LD signed with did-plc, and detects anomalous mastery trajectories via an integrity guardrail.
Ships in prometheus-skill-pack. 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.
Certification endpoint for the Feynman learning loop. Issues an OB 3.0 / W3C Verifiable Credential after verifying mastery gates. Works in two modes: checkpoint (single concept) and final (full goal certification).
/learn-certify <goal-id> [--checkpoint <concept-id>] [--final] [--issuer <endpoint-url>]
--checkpoint <concept-id>: intermediate milestone check on a single concept--final: full certification for the entire goal (requires all mastery gates met)--issuer <endpoint-url>: forward the signed credential to a 1EdTech-compatible
endpoint (OPTIONAL — not required for self-issued)Exactly one of --checkpoint or --final must be provided.
--checkpoint <concept-id>)Gate check for a single concept.
Load concept state through the learner-model binary:
{"method":"get_concept","params":{"learner_id":"<learner-id>","concept_id":"<concept-id>"}}.
The reply carries mastery, certified_at, observations, this concept's
gaps, and the sessions that touched it.
Verify all three mastery criteria met:
learn-grade passed: overall_score >= 0.7 and no active misconceptions>= 0.7retention_passed: true in artifactIf any criterion fails: report which checks failed and stop. Do NOT issue.
Run the integrity guardrail (see below) against this concept's observations.
Emit a checkpoint badge (OB 3.0 assertion scoped to the concept).
Update the learner model with set_certified; the binary stamps
certified_at on the concept and echoes it back:
jq -nc \
--arg learner_id "$LEARNER_ID" \
--arg concept_id "$CONCEPT_ID" \
'{method:"set_certified",params:{
learner_id:$learner_id,
concept_id:$concept_id
}}' | learner-model
An error reply (unknown concept, binary absent) aborts issuance: a
credential must not exist without the certified_at that Gate 1 reads.
Write the checkpoint credential to
~/.prometheus/learn/goals/<goal-id>/checkpoints/<concept-id>-credential.json.
Print:
Checkpoint certified: <concept-id>
Grade: <overall_score> Transfer: <scores> Retention: passed
Path: ~/.prometheus/learn/goals/<goal-id>/checkpoints/<concept-id>-credential.json
--final)Full goal certification. Run prerequisite gates in order — stop and report if any gate fails. Do NOT issue until all gates pass.
Gate 1 — All concepts certified
Every concept in curriculum.json must have a non-null certified_at in the
learner model (load returns concepts.<id>.certified_at; it is set only by
set_certified). If any concept is missing, list the uncertified concepts and
stop.
Gate 2 — Practice breadth
The learner model's sessions list must hold at least 2 distinct sessions per
concept with session_type: "practice" whose concepts_touched includes the
concept. Count unique session_id values; a session reported twice (open and
close) is one record. Sessions are written by learn-practice's add_session
calls, so a concept practised without them fails this gate.
Gate 3 — Retention breadth
All concepts must have retention_passed: true in their artifact entries.
Gate 4 — Capstone (conditional)
If the goal's curriculum.json has capstone_required: true, a free-form
synthesis artifact must exist at
~/.prometheus/learn/goals/<goal-id>/capstone.md.
The capstone must reference at least three concept IDs from the curriculum.
Check for the file and the concept references. If absent or insufficient, stop.
When all gates pass:
~/.prometheus/learn/goals/<goal-id>/credential.json.--issuer <url> provided, note in the credential that forwarding is
requested and print the endpoint URL. (Actual HTTP call is out of scope for
self-issued mode — instruct the user to POST the file to the endpoint.)Print:
Credential issued: <goal-id>
Subject: <subject> (<target_level>)
Concepts certified: N
Evidence entries: N
Path: ~/.prometheus/learn/goals/<goal-id>/credential.json
Emit valid JSON-LD. Populate every field from the learner-model and artifacts.
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.2.json"
],
"id": "urn:uuid:<credential-id>",
"type": ["VerifiableCredential", "OpenBadgeCredential"],
"issuer": {
"id": "did:plc:<learner-did>",
"type": "Profile",
"name": "Self-issued via Prometheus Skill Pack"
},
"issuanceDate": "<ISO datetime>",
"credentialSubject": {
"id": "did:plc:<learner-did>",
"type": "AchievementSubject",
"achievement": {
"id": "urn:uuid:<achievement-id>",
"type": "Achievement",
"name": "<subject> Mastery — <target_level>",
"description": "Demonstrated via Feynman explanation + transfer problems + retention checks",
"criteria": {
"narrative": "Passed learn-grade (>=0.7), solved transfer problems (>=0.7), retention check (>=0.6) for all concepts in the curriculum."
}
},
"evidence": [
{
"id": "urn:uuid:<artifact-id>",
"type": "Evidence",
"name": "Feynman artifact: <concept-id>",
"description": "Grade: <score>. Transfer: <scores>. Retention: passed."
}
]
}
}
Field sources:
<credential-id>: generate a new UUID v4<achievement-id>: generate a new UUID v4<learner-did>: read from ~/.prometheus/learn/did.txt; if absent, use
did:plc:self-issued-<goal-id><subject> and <target_level>: read from goal's curriculum.jsonevidence array: one entry per concept; populate from the most recent
artifact file (latest closed_at) in
<learn-home>/goals/<goal-id>/artifacts/<concept-id>/ — the path
feynman-loop's write-artifact.sh writes and learn-retain globsRun before issuing any credential (checkpoint or final).
timestamp ascending.Δmastery = obs[n].mastery_score - obs[n-1].mastery_scoreΔmastery > 0.4."integrityNote" field to the credential at the top level:
"integrityNote": "Anomalous mastery trajectory detected on concept <id>: delta=<value> between <ts1> and <ts2>. Credential issued with this note."
WARNING: Anomalous mastery delta detected — see integrityNote in credential.
The credential's evidence array must be populated — one entry per concept.
Each entry must include:
artifact_id (UUID from the artifact file)concept_idoverall_score (from learn-grade result)transfer_scores (array from transfer problem results)retention_passed (boolean)A credential with an empty evidence array is invalid and must not be issued.
The credential is self-issued: learner = issuer = subject via did-plc. This means:
--issuer <endpoint> to note the forwarding
target and instruct the user to POST the credential JSON to that URL.~/.prometheus/learn/did.txt
is absent, the fallback DID is used and noted in the credential's issuer.name.As returned by the binary's load (substrate/learner-model/README.md is the
full reference):
{
"schema_version": "1.1.0",
"learner_id": "<learner-id>",
"concepts": {
"<concept-id>": {
"mastery": 0.85,
"certified_at": null,
"observations": {
"<observation-id>": {
"timestamp": "<ISO>",
"score": 0.72,
"source_skill": "learn-practice"
}
}
}
},
"gaps": {
"<gap-id>": { "concept_id": "<concept-id>", "resolved_at": null, "label": "verified" }
},
"sessions": [
{
"session_id": "<uuid>",
"session_type": "practice",
"started_at": "<ISO>",
"ended_at": "<ISO>",
"skills_called": ["learn-practice", "learn-grade"],
"concepts_touched": ["<concept-id>"]
}
]
}
retention_passed and transfer scores are read from the feynman artifact, not
from the learner model. The integrity guardrail's mastery_score series is the
concept's mastery as recomputed after each observation.
| Condition | Action |
|---|---|
learner-model binary absent, or load returns error | Abort: print the error and instruct user to run /learn-goal (which seeds the model) |
curriculum.json absent | Abort: print path and instruct user to run /learn-plan |
| Gate fails | Print which gate failed, what is missing, and which skill to run next |
evidence array would be empty | Abort: print concept IDs missing artifacts |
did.txt absent | Use fallback DID, note in credential, continue |
~/.prometheus/learn/goals/<goal-id>/
├── curriculum.json # concept list, capstone_required flag
├── credential.json # final credential (written by --final)
├── capstone.md # free-form synthesis (if required)
├── did.txt # optional: learner DID
├── artifacts/
│ └── <concept-id>/
│ └── <artifact-id>.json # written by feynman-loop write-artifact.sh
└── checkpoints/
└── <concept-id>-credential.json
Mastery state is not a file in this tree: it is the learner-model document the
learner-model binary stores under its data directory (default
~/.prometheus/learn/), read with load and get_concept.
Every ~/.prometheus/learn path in this skill is <learn-home>, which is
${PROMETHEUS_LEARN_HOME:-~/.prometheus/learn} — the same resolution
feynman-loop's write-artifact.sh performs, so all three skills read and write
one store even when the override is set.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-skill-pack218 skills in this plugin
/actor-modelTokio-native actor model pattern for Prometheus AGS projects. Implements actors as tokio tasks communicating via mpsc channels with a typed message enum, enabling safe concurrent state management without shared locks. Used in UAR session management, pk-librarian event broadcasting, and parking-lot scheduler design. Use when a component needs to own state exclusively while serving concurrent callers.
/adversarial-reviewIsolated, cross-model adversarial review of KBD artifacts and change diffs. Dispatches a fresh-context LLM judge over an OpenAI-compatible REST gateway (openai-proxy or `liter-llm api`) with an explicit mandate to find problems — the model that produced an artifact or change is never the model that reviews it. Runs as a pipeline stage inside kbd-assess/analyze/plan (artifact mode) and kbd-execute's single phase-boundary QA step (diff mode, once over the whole phase diff). Findings are severity-bucketed (CRITICAL/WARNING/SUGGESTION) and the judge's own report is screened by sycophancy-correction before it is surfaced.
/agent-team-creatorCreate, revise, package, and deploy agent-team definitions with staged questions and native exports for UAR, Codex, Claude Code, Copilot, Kimi Code, MiniMax CLI, OpenCode and DeepSeek. Use for team definition and catalog lifecycle; use agent-team-manage for active runtime task state.Other plugins' skills for the same job
2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026