Use when initializing ForgeBee on a new project — sets up CLAUDE.md, PM system, and project memory. For command-list questions, invoke the `forgebee-help` skill.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Forgebee Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/forbee-dev-forgebee-setup)
---
name: forgebee-setup
description: Use when initializing ForgeBee on a new project — sets up CLAUDE.md, PM system, and project memory. For command-list questions, invoke the `forgebee-help` skill.
version: 1.2.0
---
# ForgeBee Setup & Configuration
## Objective
Initialize ForgeBee for a project: CLAUDE.md, TASKS.md, PM system, session directories. Target: a working setup in under 5 minutes.
## Never
- Never overwrite an existing CLAUDE.md. Merge, or confirm with the user first.
- Never skip asking about the project's stack and conventions.
- Never create a directory without checking what already exists.
## First-Time Setup
1. **CLAUDE.md** — from `${CLAUDE_PLUGIN_ROOT}/skills/forgebee-setup/references/claude-md-template.md`. Ask the user for stack, conventions, key components, and common commands. Write to the project root.
2. **TASKS.md** — if absent, create it with empty Active / Waiting On / Done sections.
3. **PM system** — copy templates:
- `docs/pm/state.yaml` from `${CLAUDE_PLUGIN_ROOT}/templates/docs/pm/state.yaml`
- `docs/pm/index.md` from `${CLAUDE_PLUGIN_ROOT}/templates/docs/pm/index.md`
- `docs/pm/decisions.md` from `${CLAUDE_PLUGIN_ROOT}/templates/docs/pm/decisions.md`
- Create `docs/pm/features/`, `docs/planning/briefs/`, `docs/planning/requirements/`, `docs/planning/stories/`.
4. **Session directories** — `.claude/sessions/`, `.claude/session-cache/`, `.claude/learnings/learnings.md`.
Setup ends when these exist.
## Command / Agent / Skill Reference
Do not keep a command list here; it drifts. The inventory lives in:
- **`${CLAUDE_PLUGIN_ROOT}/INDEX.md`** — generated by `scripts/build-index.js`, loaded on SessionStart. Never hand-edited.
- **`forgebee-help` skill** — for "what commands are available" or "how do I use ForgeBee". It reads INDEX.md.
## Permission Mode Recommendation
Recent Claude Code versions can start in auto mode. Older versions and some settings start in manual mode. Start auto mode explicitly:
```bash
claude --permission-mode auto
```
A classifier approves safe operations. ForgeBee's permission-guard Tier-0 blocklist runs before the classifier in every mode, so dangerous commands stay blocked. Auto mode needs a supported model, and an organization can turn it off. See https://code.claude.com/docs/en/permission-modes.
Without auto mode, manual (`default`) mode works. ForgeBee never auto-approves commands; add `permissions.allow` rules in `settings.json` for the commands you trust.
## Status Line (optional)
A plugin cannot set `statusLine`. Ask the user first. If they agree, copy `${CLAUDE_PLUGIN_ROOT}/tools/statusline.js` to `~/.claude/forgebee-statusline.js`. Show this setting for their `settings.json`, and never edit that file without their approval:
```json
"statusLine": { "type": "command", "command": "node ~/.claude/forgebee-statusline.js" }
```
The script reads `.claude/session-cache/statusline.json`, which the SessionStart hook writes. Copy the script again after a plugin update.
## Additional Resources
- **`references/claude-md-template.md`** — full CLAUDE.md template.
- **`references/pm-overview.md`** — PM system documentation.