From magician
One-time project setup: creates .workspace/ structure, .gitignore entries, a lean CLAUDE.md, and a permissions allowlist. Also suggests relevant MCPs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/magician:almanacThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Set up the magician workspace for this project. Run once per project.
Set up the magician workspace for this project. Run once per project.
.workspace/
├── shared/ ← committed to git
│ ├── context.md current team state and open decisions
│ ├── roadmap.md feature priorities
│ ├── decisions/ architecture decision records
│ ├── specs/ /conjure design specs
│ └── postmortems/ /autopsy outputs
└── local/ ← always gitignored
├── prefs.md per-machine preferences
└── session.md last session state
Use the AskUserQuestion tool with the Workspace Mode configuration in references/setup-questions.md — do not write any text before calling it.
Wait for reply before creating any directories or files. Remember the selected mode (Shared or Private) — it controls steps 3, 8, and 9.
mkdir -p .workspace/shared/decisions .workspace/shared/specs .workspace/shared/plans .workspace/shared/research .workspace/shared/postmortems
mkdir -p .workspace/local
Append to .gitignore (or create it):
# Magician workspace (local machine only)
.workspace/local/
If private mode: .workspace/ instead.
.workspace/shared/context.md:
# Project Context
**Stack:** <from inspector>
**Archetype:** <from inspector>
**Started:** <today's date>
## Open Decisions
(none yet)
## Current Focus
(describe what you're working on)
.workspace/shared/roadmap.md:
# Roadmap
## In Progress
(none yet)
## Planned
(none yet)
## Completed
(none yet)
.workspace/local/prefs.md:
# Local Preferences
disableGit: false
# Set disableGit: true to skip worktrees and PR flow
If no CLAUDE.md exists, create a lean one:
# Project Rules
(Add earned rules here — only what Claude consistently gets wrong.)
Do not write generic best practices. CLAUDE.md should only contain rules specific to this project.
Build the suggested list based on detected stack. Then use the AskUserQuestion tool with the Permissions configuration in references/setup-questions.md — do not write any text before calling it.
Wait for reply before writing to settings.json.
If Add all: first ask about Playwright access using the Playwright configurations in references/setup-questions.md, then write the full set to .claude/settings.json using the script in references/settings-writer.md.
If Choose or Skip: follow the guidance in references/setup-questions.md.
Based on detected archetype, suggest relevant MCPs:
Ask: "Want me to set up any of these MCPs? If so, which ones?" End your turn. Wait for their reply before proceeding to step 8.
Record the workspace mode chosen in step 1. Set WS_MODE to the user's actual selection (shared or private) — do not hardcode it:
# WS_MODE is "shared" or "private" from the step 1 answer.
WS_MODE=shared # ← replace with the user's actual choice
python3 -c "
import json, os, sys
mode = sys.argv[1]
# SHARED: only .workspace/local/ is gitignored. PRIVATE: whole .workspace/ is gitignored.
data = {'mode': mode, 'ignored': 'false' if mode == 'shared' else 'true'}
path = os.path.expanduser('~/.local/share/magician/workspace-strategy.json')
os.makedirs(os.path.dirname(path), exist_ok=True)
json.dump(data, open(path,'w'))
print('Strategy saved:', data)
" "$WS_MODE"
git add .workspace/shared/ CLAUDE.md .gitignore
git commit -m "chore: initialize magician workspace"
"Almanac complete. Workspace initialized in mode. Run /conjure to start designing, or /manifest for the full flow."
npx claudepluginhub alexander-tyagunov/magician --plugin magicianCreates a date-organized workspace folder with static project docs and an assets directory for code, enabling other skills to operate with project context and daily work tracking.
Sets up Claude Code projects with config files and audits existing ones for permissions, context quality, MCP coverage, leaked secrets, stale docs, and cruft. Uses sub-agents for analysis.
Use this skill for "initialize project", "set up project", "scaffold project", "create CLAUDE.md", "set up rules", "create context directory", "vibe rules", "project templates", "init new project", "set up development structure", "create .rules", "create .context", "project scaffolding", "set up pre-commit hooks", or when the user wants to initialize a new project with Claude/Cursor development templates and structured documentation.