Displays Magpie welcome guides for the general platform or specific skill families and re-enables guides that were previously dismissed.
- GitHub stars
- 145
- Files
- 1
- Last commit
- Nov 12, 2026
- License
- Apache-2.0
- Allowed tools
- —
What does the welcome-guide skill do?
welcome-guide displays Magpie welcome guides for the general platform or specific skill families and re-enables guides that were previously dismissed.
Summary generated from the skill's SKILL.md.
About the welcome-guide skill
Displaying Magpie welcome guides for the platform or specific skill families is what this tool enables for users navigating the ecosystem. It serves as an on-demand way to access instructional Markdown files that typically appear during a pre-flight check. An agent should load this skill when a user asks how to get started, requests a specific guide like security, or wants to see a guide they previously dismissed.
The skill functions by executing the setup_preflight.welcome command through the installed pre-flight checker. It can retrieve the general guide or a specific family guide by name. Beyond just showing information, it can re-enable guides that were previously hidden or dismissed by updating the reconciled.json file in the personal layer. It relies on existing Markdown files located in the setup_preflight/guides/ directory and respects any agent-readable overrides found in the local or project-wide configuration layers.
What an agent can do with it
- 1Viewing specific skill family guidesA developer needs to see the specific security documentation for their current task.
- 2Restoring dismissed documentationA user wants to bring back a welcome guide they previously turned off.
- 3Listing available instructional guidesA user asks for a guide that does not exist and needs to see what options are available.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the welcome-guide skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the welcome-guide skill in Plugin
/plugin marketplace add apache/magpie /plugin install magpie-setup@apache-magpie
Install the welcome-guide skill in Claude Code
~/.claude/skills/welcome-guide/SKILL.md
$ npx degit apache/magpie/plugins/magpie-setup/skills/welcome-guide ~/.claude/skills/welcome-guideInstall the welcome-guide skill in Claude Code (project)
.claude/skills/welcome-guide/SKILL.md
$ npx degit apache/magpie/plugins/magpie-setup/skills/welcome-guide .claude/skills/welcome-guideInstall the welcome-guide skill in Codex
~/.agents/skills/welcome-guide/SKILL.md
$ npx degit apache/magpie/plugins/magpie-setup/skills/welcome-guide ~/.agents/skills/welcome-guideInstall the welcome-guide skill in Gemini CLI
~/.gemini/skills/welcome-guide/SKILL.md
$ npx degit apache/magpie/plugins/magpie-setup/skills/welcome-guide ~/.gemini/skills/welcome-guideInstall the welcome-guide skill in Claude.ai
npx degit apache/magpie/plugins/magpie-setup/skills/welcome-guide welcome-guide && zip -r welcome-guide.zip welcome-guide # claude.ai → Customize → Skills → + → Create skill → Upload a skill → welcome-guide.zip
Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the scripts before you let an agent run them. How checks work
- Source repository linked and reachableapache/magpie/plugins/magpie-setup/skills/welcome-guide is public and reachablegithub.com/apache/magpie/tree/HEAD/plugins/magpie-setup/skil ↗Pass
- Open source license (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit 2026-11-12github.com/apache/magpie/commits ↗Pass
- No download-and-run or credential theft in scriptsNo scripts in the skill folderPass
- No hidden instructions in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/apache/magpie/blob/HEAD/plugins/magpie-setup/skil ↗Pass
- Pre-approved tools are scopedNo pre-approved tools; the agent asks before using onegithub.com/apache/magpie/blob/HEAD/plugins/magpie-setup/skil ↗Pass
- SKILL.md follows the Agent Skills formatthe description does not say when to use the skillgithub.com/apache/magpie/blob/HEAD/plugins/magpie-setup/skil ↗Finding
SKILL.md
View on GitHubsetup-welcome-guide
Every Magpie skill's pre-flight shows a short welcome guide the first time it is due:
the general guide on the first Magpie skill a user runs, and a family's guide on the first run of that family.
This skill shows any of them on request, and brings back one the user dismissed or hid.
The guides live in the pre-flight checker,
setup_preflight/guides/, one Markdown file each;
this skill adds no logic of its own and only runs the checker's welcome command.
Adopter overrides
Before running its default behaviour, this skill consults
setup-welcome-guide.md in the personal layer
(.apache-magpie-local/ when the project adopted Magpie, falling back to the main checkout's in a linked worktree,
or <git-common-dir>/apache-magpie/ when Magpie is only installed; applied first, wins on conflict) and
.apache-magpie-overrides/setup-welcome-guide.md (committed, project-wide)
in the adopter repo, if present, and applies any agent-readable overrides it finds.
See docs/setup/agentic-overrides.md for the contract.
Hard rule: agents NEVER modify the snapshot under <adopter-repo>/.apache-magpie/.
Local modifications go in the override file; framework changes go via PR to apache/magpie.
Inputs
| Argument | Guide |
|---|---|
| (none) | general — getting started, staying current, asking, making Magpie yours. |
<family> |
That family's guide, for example security. |
Step 1 — Show the guide
Resolve <family> first: no argument means general, and the user's words map onto a name —
"show the security guide" is security;
"how do I start with Magpie" or "show the welcome guide" is general.
Pass any other name through as given and let the command say whether it exists.
Every command uses the installed copy of the checker, as the pre-flight does:
PYTHONPATH="$HOME/.cache/apache-magpie/preflight" \
python3 -P -m setup_preflight.welcome show --family <family>
- Exit 0 → show the output to the user verbatim, as Markdown. Do not summarise, reword or trim it, and substitute nothing in its placeholders.
- Exit 2, no such guide → say there is no guide by that name and list the ones that ship,
from
python3 -P -m setup_preflight.welcome listwith the samePYTHONPATH. Never invent a guide. - No such module → the checker is not installed yet.
Say so, and propose
/magpie-setup:setup config, which installs it.
Then offer the coloured version in one line:
the agent's reply cannot carry colour, so the user runs it themselves with the ! prefix,
the same command with --color=always added (NO_COLOR turns the colour off).
Step 2 — Turn it back on, when asked
Only when the user asked to have a guide back ("show the security welcome again", "turn the Magpie guide back on"), clear its recorded choice so the pre-flight shows it again:
PYTHONPATH="$HOME/.cache/apache-magpie/preflight" \
python3 -P -m setup_preflight.welcome enable --family <family>
It merges into the personal layer's reconciled.json, removing only welcome.<family>.
Never edit that file by hand, and never run enable for a request that only asked to see the guide.
Report in one line what changed, for example "The security guide will show on your next security skill."
Hard rules
- Show the guide exactly as the command printed it.
- This skill writes nothing except through
welcome enable, and only on the user's request. - The setup skill's
welcomesub-action is this skill; run this one rather than repeating its steps there.
References
setup_preflight/welcome.py— when a guide is due, and theshow,list,recordandenablecommands.tools/setup-preflight/README.md— thewelcomefinding and its state.
Files in this skill
1welcome-guide skill questions
How do I install the welcome-guide skill in Claude Code?
Run npx degit apache/magpie/plugins/magpie-setup/skills/welcome-guide ~/.claude/skills/welcome-guide. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the welcome-guide skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.
Can I bring back a guide I previously dismissed?
Yes, if you ask to turn a guide back on, the skill will clear its recorded choice so the pre-flight shows it again.
What should I do if the welcome command fails because the module is missing?
If the checker is not installed, you should run the command to install it via /magpie-setup:setup config.