claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Autonomous orchestrator for manifest work items through the development lifecycle. Use when running egregore to process a backlog automatically.
$ npx -y skills add athola/claude-night-market --skill summon --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/summonContext preview
The summary Claude sees to decide when to auto-load this skill.
Autonomous orchestrator for manifest work items through the development lifecycle. Use when running egregore to process a backlog automatically.
name: summon description: Autonomous orchestrator for manifest work items through the development lifecycle. Use when running egregore to process a backlog automatically. alwaysApply: false category: orchestration tags: - autonomous - pipeline - orchestrator - mission dependencies: - attune:project-brainstorming - attune:project-specification - attune:project-planning - attune:project-execution - pensive:code-refinement - conserve:bloat-detector - sanctum:pr-prep - sanctum:pr-review - sanctum:commit-messages - conserve:clear-context tools: [] progressive_loading: true modules: - modules/pipeline.md - modules/budget.md - modules/intake.md - modules/decisions.md - modules/model-routing.md model_hint: standard role: entrypoint
Summon is the egregore orchestration loop. It reads the manifest (`.egregore/manifest.json`), selects the next active work item, maps the current pipeline step to a specialist skill, and invokes that skill. After each step it advances the pipeline, checks context and token budgets, and repeats until all items are completed or the budget is exhausted.
The orchestrator never re-implements phase logic. Each pipeline step delegates to an existing skill via `Skill()` calls. Summon only manages state transitions, retries, and budget guards.
intake-build-quality-ship pipeline.
exists with active items).
exit.
directly instead).
skill invocations).
**Always launch the orchestrator agent in the FOREGROUND.** Do not use `run_in_background: true`. The main session becomes the egregore: it blocks on the orchestrator agent until the egregore finishes or is dismissed.
Agent( subagent_type: "egregore:orchestrator", prompt: "<context about work items and current state>", run_in_background: false // Required )
If you launch the orchestrator in the background, the main session will have nothing to do and will stop. This defeats the entire purpose of the egregore. The stop hook cannot prevent this because background agents are detached.
Before launching the orchestrator, ensure the manifest has the correct run mode:
in the manifest. The egregore will scan for new work after completing all items and run until dismissed.
manifest. The egregore stops after all items are completed or failed.
If the manifest already exists and has `"mode": "bounded"` but the user did NOT pass `--bounded`, update the manifest to `"indefinite": true` before launching.
After launching, do NOT produce any summary, status table, or "what's happening" output. The orchestrator IS the session now. Let it run.
Follow these steps exactly. Each iteration processes one pipeline step for one work item.
manifest = Read(".egregore/manifest.json")
config = Read(".egregore/config.json")
budget = Read(".egregore/budget.json")If `manifest.json` does not exist, stop with an error: "No manifest found. Run `egregore init` first."
item = manifest.next_active_item()
If `item` is `None`, all work is done. Save the manifest, report completion, and exit.
Look up `item.pipeline_stage` and `item.pipeline_step` in the Pipeline-to-Skill Mapping table below. Determine the skill name or action to invoke.
Call `Skill()` or execute the mapped action. Pass any required context (branch name, issue ref, etc.) from the work item.
**On success:**
**On failure:**
step on the next iteration.
move to the next work item.
Estimate context window usage. If usage exceeds 80%:
1. Save the manifest to disk. 2. Write a continuation note to `.egregore/continuation.json` with the current item ID, stage, and step. 3. Invoke `Skill(conserve:clear-context)`. 4. The watchdog or caller will relaunch a fresh session that resumes from the saved state.
If the last skill call returned a rate limit error:
1. Record the rate limit in `budget.json` via `budget.record_rate_limit(cooldown_minutes)`. 2. Save `budget.json`. 3. Alert the overseer (see `notify.py`). 4. **Schedule in-session recovery** (attended sessions only): use `CronCreate` for a one-shot resume at the cooldown expiry. Its jobs live only in the running session, so this works only when that session is still alive and idle when the window renews. 5. **Otherwise exit gracefully**, which is the default for an unattended run. The watchdog reads the recorded cooldown and relaunches after the window renews. Call `window.plan_resume()` rather than choosing by hand.
Go ba
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.