# Forge Setup

> Configure per-repository default flags for /forge pipelines. Interactive setup that saves preferences to .specs/preferences.json.

- **Type:** Skill
- **Install:** `agentstack add skill-hiromaily-claude-forge-forge-setup`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hiromaily](https://agentstack.voostack.com/s/hiromaily)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hiromaily](https://github.com/hiromaily)
- **Source:** https://github.com/hiromaily/claude-forge/tree/main/skills/forge-setup

## Install

```sh
agentstack add skill-hiromaily-claude-forge-forge-setup
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# forge-setup

Configure default flags for `/forge` pipelines in this repository.

## Flow

1. Call `mcp__forge-state__preferences_get` to load current preferences.

2. Present all current values and ask the user to confirm or change them using AskUserQuestion. Ask all five questions in a single prompt:

   ```
   Current preferences:
   - --auto (skip human confirmation): {current or "not set"}
   - --debug (debug mode): {current or "not set"}
   - --effort (default effort level): {current or "not set (auto-detect)"}
   - --nopr (skip PR creation): {current or "not set"}
   - --discuss (pre-pipeline discussion): {current or "not set"}

   For each setting, reply with the desired value:
   1. auto: yes / no / keep
   2. debug: yes / no / keep
   3. effort: S / M / L / none / keep
   4. nopr: yes / no / keep
   5. discuss: yes / no / keep
   ```

3. Parse the user's responses and build the preferences object.

4. Show a summary and ask for final confirmation:

   ```
   Preferences to save:
   - auto: true
   - debug: false
   - effort: M
   - nopr: true
   - discuss: false

   Save these preferences? (yes/no)
   ```

5. If confirmed, call `mcp__forge-state__preferences_set` with the preferences object.

6. Display confirmation: "Preferences saved to `.specs/preferences.json`. These defaults will be applied to all future `/forge` runs. Explicit flags on `/forge` always override preferences."

## Notes

- "keep" means retain the current value (or "not set" if there is no current value).
- "none" for effort means remove the preference (auto-detect effort).
- This skill only reads/writes through MCP tools; it does not manipulate files directly.
- Preferences can only enable flags. Setting a flag to "no" removes the preference (same as "not set").

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hiromaily](https://github.com/hiromaily)
- **Source:** [hiromaily/claude-forge](https://github.com/hiromaily/claude-forge)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hiromaily-claude-forge-forge-setup
- Seller: https://agentstack.voostack.com/s/hiromaily
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
