Agent skill

Summon

by athola in athola/claude-night-market

Autonomous orchestrator for manifest work items through the development lifecycle.

MITAuto-check passedAgent Workflows

Install Summon

skills CLI
$ npx skills add athola/claude-night-market --skill summon -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install athola/claude-night-market summon --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/egregore/skills/summon .claude/skills/summon && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
summon
GitHub stars
342
Token cost
~3.3k tokens
SKILL.md length
1,606 words
Files
6
Skills in repo
159
Repo updated
First seen
Licence
MIT

At a glance

Autonomous orchestrator for manifest work items through the development lifecycle.

  • Works in 8 steps: Load state → Pick the next work item → Map current step to a skill → …
  • Running egregore to process a backlog automatically
  • SKILL.md covers Overview, When To Use, When NOT To Use and Launching the Orchestrator, plus 9 more sections
  • Calls gh, python3 and claude

What it does

Summon is an agent skill from athola/claude-night-market. Autonomous orchestrator for manifest work items through the development lifecycle. Use when running egregore to process a backlog automatically.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `modules/budget.md`, `modules/decisions.md` and `modules/intake.md`).

It sits in Agent Workflows. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Running egregore to process a backlog automatically

Example prompts

  • “/summon”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Load state
  2. Pick the next work item
  3. Map current step to a skill
  4. Invoke the skill
  5. Handle the result
  6. Check context budget
  7. Check token budget
  8. Repeat

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • python3
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Summon loads about 3.3k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 1,606 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 1,606 words, ~3,313 tokens.

Download SKILL.mdSave it as .claude/skills/summon/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
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…
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

Overview

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.

When To Use

  • Processing one or more work items through the full intake-build-quality-ship pipeline.
  • Resuming an interrupted egregore session (manifest already exists with active items).
  • Running autonomously under a watchdog that relaunches on exit.

When NOT To Use

  • Running a single skill in isolation (call the skill directly instead).
  • Exploratory work where the pipeline does not apply.
  • When human review is needed before every step (use manual skill invocations).

Launching the Orchestrator

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.

The unattended night run

The orchestrator above is an agent inside a session. The night run is the other entry point: a plain process a watchdog can restart, for hours no session is guaranteed to last. It walks one handed-off item (gate, walk, proof). It exits with the gate's own code (1 to 4) when the item is refused and nothing ran, and with 5 when the walk broke after it started:

bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/night_run.py" \
  --item-dir .egregore/handoff/<item> --root .

Nothing inside a session starts it. Run it by hand or from a scheduler you configure. The watchdog from /egregore:install-watchdog does not start it: that watchdog relaunches a claude -p session that invokes this skill. See modules/budget.md for why the cooldown path differs.

Manifest Mode

Before launching the orchestrator, ensure the manifest has the correct run mode:

  • Default (no --bounded flag): set "indefinite": true in the manifest. The egregore will scan for new work after completing all items and run until dismissed.
  • With --bounded flag: set "mode": "bounded" in the 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.

Orchestration Loop

Follow these steps exactly. Each iteration processes one pipeline step for one work item.

1. Load state
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."

2. Pick the next work item
item = manifest.next_active_item()

If item is None, all work is done. Save the manifest, report completion, and exit.

3. Map current step to a skill

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.

4. Invoke the skill

Call Skill() or execute the mapped action. Pass any required context (branch name, issue ref, etc.) from the work item.

5. Handle the result

On success:

  • Call manifest.advance(item.id) to move to the next step.
  • Reset item.attempts to 0.
  • Save the manifest.

On failure:

  • Call manifest.fail_current_step(item.id, reason).
  • If item.attempts < item.max_attempts, retry the same step on the next iteration.
  • If item.status is now "failed", log the failure and move to the next work item.
  • Save the manifest.
6. Check context budget

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.
7. Check token budget

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.
8. Repeat

Go back to step 2. Continue until all items are completed, all items are failed, or a budget limit is reached.

Pipeline-to-Skill Mapping

StageStepSkill/Action
intakeparseParse prompt or fetch issue via gh issue view
intakevalidateValidate requirements are actionable
intakeprioritizeOrder by complexity (single item = skip)
buildbrainstormSkill(attune:project-brainstorming)
buildspecifySkill(attune:project-specification)
buildblueprintSkill(attune:project-planning)
buildexecuteSkill(attune:project-execution)
qualitycode-reviewSkill(pensive:code-refinement)
qualityunbloatSkill(conserve:bloat-detector)
qualitycode-refinementSkill(pensive:code-refinement)
qualityupdate-testsSkill(sanctum:test-updates)
qualityupdate-docsSkill(sanctum:doc-updates)
shipprepare-prSkill(sanctum:pr-prep)
shippr-reviewSkill(sanctum:pr-review)
shipfix-prApply review fixes
shipmergegh pr merge (if auto_merge enabled)

The intake stage steps (parse, validate, prioritize) are handled inline by the orchestrator. See modules/intake.md for details.

Delegation Inside the Loop

The build and quality stages delegate execution by default through Skill(conjure:delegation-core). An unattended loop is where the default earns most: nobody is present to notice that an external CLI was available and unused.

The orchestrator does not decide per task. It invokes the mapped skill, and that skill applies the delegation posture with its own Keep Local clauses.

A providers_exhausted result is not a step failure. The orchestrator must not retry the step or mark the work item failed on it. The skill completes the work locally and the pipeline advances. Treating it as a failure would burn the retry budget on a machine where nothing is broken.

To run the egregore with no external models, export CONJURE_DELEGATION=off in the environment that launches it.

Show full SKILL.md (602 more words)Show less

Context Overflow Protocol

The orchestrator runs inside a finite context window. To avoid losing state when the window fills:

  1. Monitor usage. After each skill invocation, estimate how much of the context window has been consumed.
  2. At 80% capacity, trigger a context save:
    • Persist the full manifest to disk.
    • Write .egregore/continuation.json with a snapshot of the current position.
    • Invoke Skill(conserve:clear-context).
  3. On relaunch, load continuation.json and resume from the saved position. The manifest on disk is the source of truth for pipeline progress.
  4. Increment manifest.continuation_count each time a context-overflow handoff occurs.

This protocol ensures zero lost progress across context boundaries.

Progress Monitoring & Self-Healing (2.1.71+)

After loading state (step 1), schedule a recurring heartbeat that both reports status and recovers stalled pipelines:

CronCreate(
  cron: "*/5 * * * *",
  prompt: "Check .egregore/manifest.json. If there are pending or active items that are not being processed, resume the orchestration loop by invoking Skill(egregore:summon). Otherwise, report status via /egregore:status.",
  recurring: true
)

This serves two purposes:

  1. Visibility: emits a status summary every 5 minutes so autonomous runs are observable.
  2. Self-healing: if a user prompt, context compaction, or unexpected error breaks the orchestration loop, the next heartbeat detects stalled items and re-enters the pipeline automatically.

Both depend on the session staying alive: a recurring job also lives only in the session that created it, and it fires only while the REPL is idle. Recurring jobs auto-expire after 7 days, firing one last time before they are deleted, so a run longer than a week needs the heartbeat rescheduled.

durable: true does not persist the job across restarts. The parameter is accepted, but the tool's description says it "has no effect" and that durable persistence is not available. Use CronDelete to cancel a job early, and the watchdog for anything that must survive the session.

Token Budget Protocol

Egregore sessions consume API tokens across a budget window (default: 5 hours). The budget protocol prevents runaway spending:

  1. Before each skill call, check budget.json for an active cooldown. If is_in_cooldown(budget) returns true, exit and let the watchdog retry later.
  2. On rate limit error, record the event via budget.record_rate_limit(cooldown_minutes). The cooldown duration equals the API retry-after header plus config.budget.cooldown_padding_minutes.
  3. Save and exit. Write budget.json, alert the overseer, and exit with code 0.
  4. The watchdog checks budget.json before relaunching. It will not start a new session until the cooldown expires.

See modules/budget.md for the full calculation and state schema.

Failure Handling

Each work item allows up to max_attempts retries per step (default: 3, configurable in config.json).

  • Retry: If a step fails and attempts < max_attempts, the orchestrator retries the same step on the next iteration. The manifest is saved between retries.
  • Mark failed: If attempts >= max_attempts, the item status changes to "failed" and failure_reason is set. The orchestrator moves to the next active item.
  • Alert: On failure, notify the overseer via the configured notification channel.
  • Never block: The orchestrator must never wait for human input. If a step requires clarification, record a decision (see modules/decisions.md) and proceed with the best available option.

Module Reference

  • pipeline.md: Stage and step definitions, transition rules, idempotency guarantees.
  • budget.md: Token window management, rate limit detection, cooldown calculation, graceful shutdown.
  • intake.md: Work item parsing for prompts and GitHub issues, brainstorm skip logic.
  • decisions.md: Autonomous decision-making framework, decision log format, examples.

Exit Criteria

  • .egregore/manifest.json is read successfully before the orchestration loop starts; if absent, skill halts with "No manifest found. Run egregore init first."
  • Each completed pipeline step advances item.pipeline_stage in the manifest and the manifest is saved to disk
  • Context at 80% triggers write of .egregore/continuation.json with current item ID, stage, and step before handoff
  • On rate limit error, budget.json is updated with cooldown duration before the session exits with code 0
  • When all items are completed or failed, orchestrator exits with a completion report listing item statuses

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in plugins/egregore/skills/summon of athola/claude-night-market.

  • SKILL.md
  • modules/budget.md
  • modules/decisions.md
  • modules/intake.md
  • modules/model-routing.md
  • modules/pipeline.md

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Summon next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Summon compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Summon this skillathola/claude-night-market342—~3.3kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from athola/claude-night-market

All 159 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    342 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    342 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    342 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    342 GitHub stars~2.5k tokensUpdated 2 days ago
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    342 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    342 GitHub stars~1.6k tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Summon

What does Summon do?

Autonomous orchestrator for manifest work items through the development lifecycle. Summon is an agent skill from athola/claude-night-market. Autonomous orchestrator for manifest work items through the development lifecycle.

When should I use Summon?

Summon fits situations like: running egregore to process a backlog automatically.

How do I install Summon in Claude Code?

Run `npx skills add athola/claude-night-market --skill summon -a claude-code`. Or copy the skill folder (plugins/egregore/skills/summon in athola/claude-night-market) into .claude/skills/summon in your project. Claude Code loads it when a task matches its description.

How do I install Summon in Codex?

Run `npx skills add athola/claude-night-market --skill summon -a codex`. Or copy the skill folder (plugins/egregore/skills/summon in athola/claude-night-market) into .agents/skills/summon in your project. Codex loads it when a task matches its description.

Can I use Summon in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill summon -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/summon, .gemini/skills/summon, .github/skills/summon and .opencode/skills/summon in your project.

What does Summon need to run?

Going by SKILL.md and its folder, Summon needs the command-line tools its instructions call (gh, python3 and claude). Our summary lists: Python 3.

Does Summon access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Summon safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Summon use?

Summon is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Summon use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Summon?

Skills that share tags, products or a category with Summon: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Summon?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 342 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on October 6, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.