setup

setup is a skill for Claude Code from apache/magpie. It costs 52 tokens per session (5,317 once invoked), scanned A, a copy of magpie-setup, Apache-2.0.

A setup tool for installing and maintaining the Apache Magpie framework in a project repository. It keeps the framework in a separate downloaded snapshot and connects its skills to the project.

In plain words
What is it for?
Use it to perform the first installation, upgrade the framework, and maintain its linked skills and version records.
Why use it?
It avoids copying or embedding the framework into the project while still keeping versions pinned and detecting updates or drift.

Skill for Claude Code ✓ vendor

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

Part of the magpie-setup plugin — 12 skills shipped together

Good fit Use it to perform the first installation, upgrade the framework, and maintain its linked skills and version records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/apache/magpie/setup
About the project

Apache Magpie is a framework of agent-assisted workflows for maintaining Apache software projects, including issue triage, pull-request review, contributor mentoring, and security-report handling. Apache maintainers and developers use it to delegate repetitive project work to coding agents while retaining human review. Its catalogue entries are the skills, instructions, plugin, and settings that implement these workflows.

apache/magpie · 128 stars · on GitHub · magpie.apache.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add apache/magpie --skill setup
Clone the repo
git clone --depth 1 https://github.com/apache/magpie

Made for: Claude Code.

Or install magpie-setup, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/magpie/setup/github.svg)](https://agentmods.dev/skills/apache/magpie/setup)
Your own site
<a href="https://agentmods.dev/skills/apache/magpie/setup"><img src="https://agentmods.dev/badge/skills/apache/magpie/setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/magpie/setup"><img src="https://agentmods.dev/badge/skills/apache/magpie/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.05317
Opus 5.5 $0.00021 $0.02127
Sonnet 5.5 $0.00010 $0.01063
Haiku 4.5 $0.00005 $0.00532

Measured today against content hash d21ca5ebda9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 15 executable files (setup_preflight/__init__.py, setup_preflight/__main__.py, setup_preflight/cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to magpie-setup — 137 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/magpie-setup/skills/setup/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

setup

The marketplace install is the default. One marketplace add, then one plugin install per skill family, and nothing is written to the repo. setup with no arguments proposes it; the other methods are fallbacks for where a marketplace cannot reach. Walk-through: install.md → Step M0b, which reads any committed floor first. Per-agent reference: docs/setup/marketplace.md.

First — the welcome guide

The setup family runs no shared pre-flight, so this skill checks for its first-run welcome guide itself, before any sub-action, silently. <skill-dir> is the directory holding this SKILL.md, which carries the checker even before config has copied it into the personal layer:

Read the full file on GitHub · 231 lines

Files

What ships with it

57 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed d21ca5ebda9f
  2. yesterday Changed · +17 lines d56c6a901300
  3. 3d ago Changed · +1 lines c1ae8de34b7a
  4. 5d ago Changed · +5 lines b6d2977e3b66
  5. 10d ago Changed d32a03cd5c7c
  6. 11d ago Changed · +3 lines e93a0c7277a1
  7. 17d ago Changed 7ff3e2930e1b
  8. 22d ago Changed · +2 lines d0bc580d433e
  9. 1mo ago Changed 1874f9beb433
  10. 1mo ago First seen · 203 lines · 52 tokens per session scan A b6c7e88b2b9d

Subscribe to this mod's changes

setup is a skill published in the GitHub repository apache/magpie (128 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 5,317 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to magpie-setup, differing in 137 lines, and is treated as a copy.