agentleFS
ariaxhanariaxhan/kernel-claude/skills/help/SKILL.md

help

Skill15 starsChanged 4 months agoMITView on GitHub

Show KERNEL help. The unified skill system, state operations, agents, current plugin status. Triggers: help, how, what, skills, commands.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-stories, story-done and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lilangMaxSkill

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 9 projects that use this

  • lilangMaxSkill

    story-done

    End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.

    Also in 9 projects that use this

  • +10 more from lilangMax

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 57 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before showing help, check the actual state of the plugin as loaded in your context:

    line 28
  2. Distinctive:

    Run retrospective: After several sessions, synthesize what you've learned </tips>

    line 161

“Common” is measured: kept by at least 6 in 10 of the 57 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<skill id="help"><purpose> Quick reference for KERNEL v9.11.0. One primitive: skills (methodology, workflows, state transitions, validators, operators). Agents, manifests, philosophy, and current plugin status. </purpose>

<host_invocation> Claude Code invokes skills as /kernel:<name>. Codex invokes them as $kernel:<name>. Tables below use Claude Code syntax; Codex users replace the leading slash with a dollar sign. </host_invocation>

<on_start> Before showing help, check the actual state of the plugin as loaded in your context:

  1. Is the session-start hook output visible? (Look for "# KERNEL" at conversation start)
  2. Which profile is active? (local, github, github-oss, github-production)
  3. Are there active contracts or pending reviews in AgentDB?
  4. Report what you see, don't just recite docs.
agentdb recall "<feature> <subsystem> <files/symbols> <error/outcome>" --global

</on_start>

<getting_started>

What you wantWhat to type
Set up a new project/kernel:init
Start working on anything/kernel:ingest + describe task
Run autonomously overnight/kernel:forge + describe goal
Explore approaches creatively/kernel:dream + describe problem
Debug something broken/kernel:debug + describe symptom
Save progress before stopping/kernel:handoff
</getting_started>

<skills_reference>

Core Workflow (kind: workflow)

SkillPurposeWhen to use
/kernel:ingestGuided entry, classify, scope, executeDefault for any task. Human confirms each phase.
/kernel:forgeAutonomous engine, heat/hammer/quench/annealRun overnight. Iterates until antifragile or reports why not.
/kernel:dreamCreative exploration, 3 perspectives + stress testWhen you need competing approaches before committing.
/kernel:debugDiagnosis before prescriptionBugs, regressions, or mapping a refactor. Bug mode and refactor mode.
/kernel:simplifyCut cyclomatic complexity with AST-aware budgets, regression diffs, and a project gateJungle code, god functions, after any AI-written branchy function. A number, not an opinion.

Quality & Review (kind: validator)

SkillPurposeWhen to use
/kernel:validatePre-commit gates, build, lint, test, securityBefore every commit. Blocks on failure.
/kernel:tearitapartCritical pre-implementation reviewBefore tier 2+ work. Verdict: PROCEED/REVISE/RETHINK.
/kernel:reviewCode review for PRs or staged changesBefore merging. >80% confidence threshold.

Learning & Observability

SkillPurposeWhen to use
/kernel:retrospectiveCross-session learning synthesisWhen 5+ learnings accumulated. Clusters, deduplicates, promotes patterns into project hooks/agents/skills.
/kernel:metricsObservability dashboardCheck session stats, agent success rates, hook health, learning utilization.

State Operations (kind: state_transition) — json-first

SkillEmitsWhen to use
/kernel:handoffkernel.handoff/v1 json manifestEnding a session. Pins provenance, decisions, phases, context policy + budget.
/kernel:checkpointkernel.checkpoint/v1 json manifestMID-task save: safe context reset without full handoff ceremony.
/kernel:retrospectivekernel.retrospective-result/v1 mutation record5+ learnings accumulated; promotes via artifact ladder.
/kernel:ingest (resume)kernel.context-receipt/v1Resuming: validates the manifest, checks divergence, compiles bounded context.

Manifest CLI: orchestration/manifest/kernel-manifest (validate | latest | divergence | preflight | compile | resume | activate | deactivate). Context policies: sealed (hook-blocked forbidden globs) | bounded (extra loads ledgered) | advisory. Details: docs/MIGRATION-8.md.

Setup

SkillPurposeWhen to use
/kernel:initConfirm Vaults, create missing data dirs and three safe helper linksOnce per machine, or helper-link recovery.
/kernel:helpThis helpWhen you need a reminder.
</skills_reference>

<flow_examples> Typical flows, skills chain together:

New feature: ingest → (dream if complex) → tearitapart → execute → validate → review → handoff

Bug fix: diagnose → ingest (with diagnosis) → validate → review

Overnight autonomous: forge (runs heat/hammer/quench/anneal loop, ships when antifragile)

End of session: retrospective (if learnings accumulated) → handoff

Long task, context filling up: checkpoint → /clear → ingest (auto-discovers the checkpoint, resumes bounded) </flow_examples>

<tiers> Tier by reversibility x silence x blast radius; file count is only a weak hint.
TierRisk profileYour RoleSkills involved
1easy to undo, loud if wrongExecute directlyingest → validate
2persistent or moderately quietOrchestrate, spawn surgeoningest → tearitapart → validate → review
3hard to undo, quiet, wide blastOrchestrate, surgeon + adversaryingest → tearitapart → validate → review
</tiers><agents> These are Claude Code agent definitions. Codex does not register the files as native agents; KERNEL applies the role contracts to available Codex subagents.
AgentRole
SurgeonMinimal diff implementation. Only touches contract-listed files.
AdversaryQA, assumes broken, finds edge cases, proves with evidence.
ReviewerCode review with APPROVE/REQUEST CHANGES/COMMENT verdict.
ResearcherFinds proven solutions and anti-patterns before coding.
ScoutCodebase reconnaissance, maps structure, detects tooling.
ValidatorPre-commit quality gate, build, types, lint, tests, security.
DreamerMulti-perspective debate, minimalist/maximalist/pragmatist.
</agents><lifecycle> Claude Code runs the full declared plugin lifecycle. Codex runs supported synchronous events, including SessionStart and write guards, but skips asynchronous command hooks and has no plugin SessionEnd event. In Codex, use `$kernel:handoff` explicitly when durable end-of-session state is required. </lifecycle><philosophy> <principle id="research_first">Research anti-patterns before solutions. Most problems are already solved.</principle> <principle id="tests_first">Define success before coding. Tests before implementation.</principle> <principle id="agentdb">Recall task context before acting. Recall again as the task changes. Write at end.</principle> <principle id="big5">Big 5: input validation, edge cases, error handling, duplication, complexity.</principle> <principle id="builtin">Built-in beats library. Library beats custom. Prove you need complexity.</principle> </philosophy><tips> - **Be specific**: "Add rate limiting to /api/upload" > "make it more secure" - **Use the right skill**: diagnose for bugs, dream for design, ingest for everything else - **Check metrics**: `/kernel:metrics` shows if learnings are being used or ignored - **Save deliberately**: `/kernel:checkpoint` mid-task or `/kernel:handoff` before a session boundary - **Run retrospective**: After several sessions, synthesize what you've learned </tips></skill>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.