Holocron — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Holocron (Plugin) and scored it 15/100 (red). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 1 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
This plugin references the AWS credentials file or the access-key fields stored inside it ({ name: 'AWS Secret Access Key', re: /\baws_secr…). Those are long-lived keys with broad cloud access, so any code that reads them can hand your whole AWS account to whatever it contacts next.
creds = open(os.path.expanduser("~/.aws/credentials")).read()
requests.post(url, data={"creds": creds})# let the SDK resolve credentials; never read or transmit the file yourself
import boto3
s3 = boto3.client("s3")Every scanned point with the score it earned and what moved between them.
Score fell 85 points between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
A Claude Code plugin that gives you a Jedi council of role-specialist agents, domain commands (a11y, perf, QA, security, ADR), and a SQLite-backed learning crystal that compounds your corrections across sessions.
A holocron, in Star Wars lore, is a crystalline cube that stores Jedi teachings. This one stores yours — every correction you make becomes durable knowledge the assistant carries into the next session.
[atuljha23.github.io/holocron](https://atuljha23.github.io/holocron/) · v0.3.0 · MIT · targets SWEs, frontend engineers, backend engineers, QAs, SREs, and security.
<img width="1723" height="950" alt="Screenshot 2026-04-22 at 14 41 57" src="https://github.com/user-attachments/assets/7f2995ab-f359-4a0a-909e-9735fe45b1c9" />
If you use Claude Code daily you already know the failure mode: you correct the assistant the same way a dozen times, every session feels like starting over, and the "plan → review" discipline rots the moment compaction hits. Holocron does three things about that:
@frontend-engineer, @qa-engineer, @a11y-auditor, @security-reviewer, @perf-engineer, …) each with a sharpened rubric and clear handoff boundaries.# Add this repo as a marketplace and install the plugin
/plugin marketplace add atuljha23/holocron
/plugin install holocron@holocron
# One-time: install the native dependency the learning crystal needs
cd ~/.claude/plugins/marketplaces/holocron && npm installLocal dev against a clone:
git clone https://github.com/atuljha23/holocron ~/projects/holocron
cd ~/projects/holocron && npm install
/plugin marketplace add ~/projects/holocron
/plugin install holocron@holocronHealth check:
/holocron:doctor| Component | Count | Where |
|---|---|---|
| Role / meta agents | 14 | agents/ |
| Slash commands | 24 | commands/ |
| Skills | 11 | skills/ |
| Hook scripts | 13 | scripts/ |
| Hook events wired | 6 | hooks/hooks.json |
| Context profiles | 4 | contexts/ |
| Rules | 4 | rules/ |
Run node scripts/holocron-cli.js inventory anytime to verify counts match this table.
v0.3.0 — Token Economy. Every Claude Code session's $ and tokens are logged to~/.holocron/sessions/. Run/holocron:costfor the rolling total,/holocron:budgetto set caps,/holocron:mcp-auditto cut schema bloat,@cost-analystfor ranked savings proposals.
/holocron:onboard # draft a CLAUDE.md for this repo
/holocron:plan # enter plan mode with a real scaffold
/holocron:develop <feature> # research → plan → implement → review
/holocron:commit # quality-gated commit with a reviewed diff
/holocron:learn "<rule>" # capture a correction so it sticks@frontend-engineer <task> # role-specialist for component/UX work
/holocron:a11y # audit changed UI files against WCAG 2.2 AA
/holocron:perf # bundle / LCP / CLS check on the diff
/holocron:test-gap <file> # find the component states nobody tests@backend-engineer <task> # API / data / service work
/holocron:sec-scan # SAST + secrets + dep advisories on the diff
/holocron:perf # N+1 and index-gap sweep
/holocron:adr "<title>" # record a real decision, not a Slack message@qa-engineer <task> # test strategy / coverage / flakes
/holocron:test-gap <file> # prioritized list of missing tests
/holocron:flaky <test> # walk the flake-triage tree with evidence@sre-engineer <task> # Docker / k8s / CI / runbooks
/holocron:llm-gate "push to main"
/holocron:permission-tune # reduce prompt fatigue with allow/deny tuning@threat-modeler <feature> # STRIDE on a proposed change
/holocron:threat-model # design-level review
/holocron:sec-scan # SAST + secrets + CVE on the diff/holocron:cost --breakdown # $ + tokens + cache hit rate
/holocron:budget --session 2 --daily 10
/holocron:mcp-audit # MCP token overhead
@cost-analyst # ranked savings from usage dataAll live under agents/ and invoke as @<name>:
| Agent | Use when |
|---|---|
@architect | Picking between approaches, decomposing a feature, writing an ADR |
@frontend-engineer | React/Vue/Svelte/Web Components, state, forms, rendering |
@backend-engineer | APIs, services, data layer, async patterns |
@qa-engineer | Test strategy, coverage gaps, flakes, BDD |
@a11y-auditor | WCAG 2.2 AA audits on UI components |
@perf-engineer | Core Web Vitals, bundle size, N+1, index gaps |
@security-reviewer | OWASP review, authn/authz, injection surfaces |
@threat-modeler | STRIDE / LINDDUN design-level threat modeling |
@sre-engineer | Dockerfile / k8s / CI / SLOs / runbook drafting |
@data-engineer | SQL review, dbt models, pipelines, schema drift |
@cost-analyst | Ranked $-saving proposals from session usage data |
@debugger | Hypothesis-driven root-cause analysis |
@code-reviewer | Staff-level PR review |
@docs-writer | READMEs, runbooks, ADRs, API docs |
Each agent's system prompt includes a "when NOT to use me — delegate to X" section so they don't step on each other's toes.
Namespaced as /holocron:<name>:
Meta / workflow: onboard, plan, develop, commit, review, handoff, learn, recall, insights, worktree, doctor
Domain: a11y, perf, test-gap, flaky, sec-scan, threat-model, adr
Ops / gates: permission-tune, llm-gate
Token economy: cost, budget, mcp-audit, context-size
Each command file documents its argument hints and delegates to the right agent(s).
Cross-cutting knowledge, auto-loaded when relevant:
context-engineering — Write / Select / Compress / Isolatetest-patterns — deep assertions > spies, AAA, table-drivenapi-design — REST + GraphQL conventions, pagination, idempotencya11y-checklist — WCAG 2.2 AA walkthroughsecurity-checklist — OWASP-style pre-merge sweepperf-checklist — Core Web Vitals + backend query rubricdebug-playbook — hypothesis-driven triagepr-review-rubric — what a staff engineer actually looks atobservability-checklist — logs / traces / metrics / correlationmigration-patterns — expand / contract, backfill, online DDLtoken-economy — model tiering, cache hygiene, Read discipline, MCP pruningSix events, thirteen scripts. Everything fails safe — hooks never crash the session.
| Event | What it does | |
|---|---|---|
SessionStart | Injects top-K recent learnings from the crystal as additionalContext | |
UserPromptSubmit | FTS-matches the prompt against learnings, injects top 3 | |
PreToolUse Edit\ | Write | Read-before-write tracker + regex secret scanner (blocks on confident matches) |
PreToolUse Read | Nudges offset + limit on files > 500 lines | |
PreToolUse Bash(git commit*) | Surfaces repo-detected quality gates | |
PreToolUse Bash(git push*) | Nudges /holocron:handoff if none recorded | |
PostToolUse Edit | Sniffs console.log/debugger/print/TODO debug residue | |
PostToolUse Bash(test) | On test failure, nudges /holocron:learn | |
PostToolUse * | Flags tool responses > ~8k tokens (context bloat) | |
PreCompact | Snapshots session state, advises on post-compact recall | |
Stop | Parses the transcript and writes a per-session $ / token record; checks budget; nudges correction capture |
A SQLite database with an FTS5 index. Two scopes:
~/.holocron/learnings.db, follows you across all projects<repo>/.holocron/learnings.db, lives with the repo (commit or ignore per team)Add, search, list:
/holocron:learn "no db mocks" --reason "mock/prod drift burned us on the Q1 migration" --tags testing,db
/holocron:recall flaky
/holocron:recall databaseOr directly:
node scripts/holocron-cli.js add --title "no db mocks" --rule "integration tests hit a real db" --tags testing,db
node scripts/holocron-cli.js list --limit 20
node scripts/holocron-cli.js search "flaky"Schema and triggers live in scripts/holocron-db.js — one file, zero build step, easy to fork.
mcp-config.example.json — curated MCP servers (context7, playwright, github, postgres)settings.example.json — permissions allowlist/denylist tuned for holocron + sensible auto-compactionNeither is loaded automatically — copy what you want into your own Claude Code settings.
better-sqlite3 — installed via npm install in the plugin dirStructural inspiration: rohitg00/pro-workflow (MIT). Holocron reimplements the persistent-learning idea from scratch (no code copied) and builds role-specialist content on top. If you want the workflow-meta focus, go check out pro-workflow — different tool for a different shape of user.
Plugin authoring reference: Anthropic's Claude Code plugin docs.
MIT — see LICENSE.
v0.1.0 is intentionally scoped. Planned for v0.2.0:
Open an issue or PR.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.