Files
Holocron/plugins/kyberforge
Defame1297andClaude Opus 5.5 367cc1c259 fix(kyberforge): bound the SessionStart hook portably and sharpen its notices
Review round 1 of #270.

- Resolve `timeout`, else `gtimeout`, once after choosing apm, and call it
  through "$to" at all three sites. Stock macOS has neither `timeout` nor a
  GNU coreutils default, so the `--version` call failed there and every
  session printed a false too-old notice. With neither binary the hook exits
  0 silently. The budget test now parses `"$to" N` too.
- Check that the project environment ($UV_PROJECT_ENVIRONMENT, else
  <root>/.venv) exists before taking the uv path. If it is missing, print a
  fixed not-synced notice and never call uv, because `uv run --no-sync`
  would create an empty .venv in the consumer repo.
- Separate "version too old" from "version unreadable or timed out", with a
  fixed literal for each on each path, so a timeout no longer blames an
  unsynced environment.
- Raise the hooks.json timeout from 380 to 400 for the 375s script budget,
  refresh the outdated-timing comment, and note the budget in ADR-0019.
- Tests: no timeout binary, gtimeout only, missing and relocated project
  environment, a failing `uv run`, `--offline` required on every uv call,
  and the hostile-output notice compared to its exact literal.
- ADR-0034: until the #271 cutover, this repo prints the too-old notice and
  auto-refresh is paused.

Refs: #270

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-12-02 00:25:14 +00:00
..

kyberforge

Skills and agents for creating, maintaining, and managing a Claude Code / Copilot CLI plugin marketplace.

Install

apm is the only supported install path (ADR-0024). Declare this package in the consuming project's apm.yml:

dependencies:
  apm:
    - git: https://git.rkdr.net/Mortis/Holocron.git
      path: plugins/kyberforge

Then:

apm install

The entry above is unpinned and tracks the remote's default branch. To pin a release, add ref: kyberforge-v<x.y.z> after path:; see Pinning a plugin to a release. Registering the catalogue instead (apm marketplace add https://git.rkdr.net/Mortis/Holocron.git --name holocron) gets you the kyberforge@holocron short name, but writes to ~/.apm/marketplaces.json at user scope; the git+path object needs nothing beyond the manifest.

Native plugin installs do not work. This package ships no per-plugin manifest and no flat content directories, so a host that installs it natively gets zero skills, agents and hooks — and Claude Code raises no error while doing it (ADR-0024).

Contents

Authoring source lives in .apm/; it is the only content source and the only thing apm install deploys (ADR-0024).

Component Path Description
Skills .apm/skills/ Slash commands available after install
Agents .apm/agents/*.agent.md Role-based agents; one vendor-neutral .agent.md per agent (ADR-0016)
Hooks .apm/hooks/ Event-triggered automation — Claude Code only, see below

Hooks are Claude Code-only. apm merges .apm/hooks/*.json into the consuming project's .claude/settings.json at install. Copilot CLI has no default hooks path — agents and skills default to agents/ and skills/, but hooks defaults to nothing (docs/research/docs/github-copilot-plugins/configuration.md:47), so Copilot reads hooks only via an explicit pointer in a plugin manifest — and since ADR-0024 there is no per-plugin manifest to carry one. Copilot therefore loads no hooks from this plugin. Details, including why a pointer was the wrong fix even when a manifest existed, are in docs/hooks.md.

Skills

Skill Description
forge Grill an unclassified "I want to add something" request, decide whether it's a skill, agent, instructions file, prompt file, plugin, or marketplace entry, then route to the matching author skill
skill-author Create or improve a skill from scratch, audit findings, or inline feedback
agent-author Author an agent definition file
instructions-author Create or improve an apm instructions file (.apm/instructions/*.instructions.md): path-scoped or always-on rules, verified with a real compile and a throwaway deploy
prompt-author Create or improve an apm prompt file (.apm/prompts/*.prompt.md): a single-file command with arguments, verified with a throwaway apm install because apm compile never reads prompts
factory-audit Audit a skill directory or an agent definition — structure, provider safety, description and body quality, and provenance; produces a findings report. Auto-detects which of the two it was handed (ADR-0025)
apm-install Install or upgrade the apm CLI and set up the agent runtimes it drives (Copilot CLI, Codex, Gemini, generic llm)
apm-workflow Author apm.yml, scaffold an apm package/marketplace, install dependencies, and compile/pack/publish/audit apm content

Pre-commit tooling (pc-author, pc-run) lives in the git plugin, not here.

Author

Defame1297