forge

$npx mdskill add cwinvestments/memstack/forge

*Create new MemStack skills or improve existing ones.*

SKILL.md

.github/skills/forgeView on GitHub ↗
---
name: forge
description: "Use when the user says 'forge this', 'new skill', 'create enchantment', or wants to create a MemStack skill."
version: 1.0.0
---


# 🔨 Forge — Creating New Enchantment...
*Create new MemStack skills or improve existing ones.*

## Activation

When this skill activates, output:

`🔨 Forge — Creating new enchantment...`

Then execute the protocol below.

## Protocol

### Creating a new skill:

1. **Ask the user:**
   - What should the skill do?
   - What trigger keywords should activate it?
   - What inputs does it need? What should it output?

2. **Generate the skill file** with v2.1 format:
   - YAML frontmatter with name and description ("MUST use when..." format)
   - Activation message (pick an appropriate emoji)
   - Context guard (if the skill could have false positives)
   - Protocol steps
   - Inputs/Outputs
   - Example usage
   - Level history starting at Lv.1

3. **Write the file** to `$MEMSTACK_PATH/skills/{name}.md`

4. **Update MEMSTACK.md** — add a new row to the Skill Index table

5. **Confirm creation** — show the skill summary

### Improving an existing skill:

1. **Read the current skill file**
2. **Apply improvements** based on user feedback
3. **Increment the level** in Level History
4. **Update the file**

## Inputs
- Skill concept description, trigger keywords, desired behavior

## Outputs
- New skill .md file in skills/
- Updated MEMSTACK.md index

## Example Usage

**User:** "forge a new skill called Beacon for health check pinging"

```
🔨 Forge — Creating new enchantment...

Creating: Beacon
Emoji: 🔔 | Type: Passive | Triggers: "health check", "ping", "uptime"

Writing: skills/beacon.md ✓
Updating: MEMSTACK.md — added row #N ✓

Beacon is ready. Triggers: "health check", "ping", "uptime"
```

## Level History

- **Lv.1** — Base: Skill file generation and index updates. (Origin: MemStack v1.0, Feb 2026)
- **Lv.2** — Enhanced: Added YAML frontmatter, v2.1 format generation, level tracking. (Origin: MemStack v2.0 MemoryCore merge, Feb 2026)

More from cwinvestments/memstack

SkillDescription
compressUse when the user says 'headroom', 'compression', 'token savings', 'proxy status', or asks about context window usage.
diaryUse when the user says 'save diary', 'log session', 'wrapping up', or at end of a productive session.
echoUse when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'.
familiarUse when the user says 'dispatch', 'send familiar', 'split task', or needs work split across parallel CC sessions.
governorUse when the user says 'new project', 'project init', 'what tier', 'scope', or discusses project maturity, complexity budget, or what's appropriate to build.
grimoireUse when the user says 'update context', 'update claude', 'save library', or after significant project changes.
memstack-automation-api-integrationUse this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs system-to-system connectors with authentication, rate limit handling, and error recovery. Generates API integration code with authentication (OAuth, API key, JWT), request/response mapping, rate limit handling, error recovery with circuit breakers, and sync monitoring. Do NOT use for visual n8n workflows or webhook receiving.
memstack-automation-content-pipelineUse this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platform publishing', or needs end-to-end content workflow from ideation through cross-platform formatting and publishing. Do NOT use for single social media posts or individual blog posts.
memstack-automation-cron-schedulerUse this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs production-grade scheduled jobs with overlap prevention, monitoring, and structured logging. Do NOT use for n8n workflows or event-driven webhooks.
memstack-automation-hosted-mcp-catalogUse when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCP tools', or needs to discover zero-setup hosted MCP servers they can use immediately. Do NOT use for building MCP servers or configuring local MCP.