# Save Skill

> Save the current conversation insight as a reusable skill in the knowledge repo

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

## Install

```sh
agentstack add skill-theaichimera-claude-code-project-intelligence-save-skill
```

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

## About

# /save-skill - Save a Skill from This Session

Save a piece of knowledge, pattern, or workflow from the current conversation as a reusable skill that will be injected into future sessions.

## Usage

The user invokes `/save-skill ` to save a skill. If no name is given, infer a kebab-case name from the content.

## Instructions

When the user invokes `/save-skill`:

1. **Identify the content to save.** Look at the recent conversation context:
   - If the user just said "save that as a skill" or similar, use the most recent substantive assistant response
   - If the user provides specific content or instructions, use that
   - If unclear, ask the user what they want to save

2. **Determine the project.** Use the current working directory's project name (basename of CWD).

3. **Format as a skill file** with YAML frontmatter:

```markdown
---
name: 
project: 
generated: 
sessions: []
confidence: high
source: manual
---

# 

```

4. **Write the file** to:
```
~/.claude/knowledge//skills/.md
```
Create the directory if it doesn't exist (`mkdir -p`).

5. **Commit and push** to the knowledge repo:
```bash
cd ~/.claude/knowledge && git add -A && git commit -m "Add skill:  for " && git push
```

6. **Confirm** to the user what was saved and where.

## Guidelines

- Skills should be **actionable instructions**, not observations. "When X happens, do Y" not "X was observed."
- Keep skills focused — one pattern/workflow per skill
- Use numbered steps for procedures, bullet points for checklists
- Include context about *why* this pattern matters (e.g., "This avoids the 20x cost estimation error we hit before")
- If a skill with the same name already exists, update it (merge new insights with existing content)

## Examples

- `/save-skill` — Save the last discussed pattern (auto-name it)
- `/save-skill deployment-checklist` — Save as "deployment-checklist"
- `/save-skill` after user says "that debugging approach was great, remember it" — Capture the approach

## Source & license

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

- **Author:** [theaichimera](https://github.com/theaichimera)
- **Source:** [theaichimera/claude-code-project-intelligence](https://github.com/theaichimera/claude-code-project-intelligence)
- **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-theaichimera-claude-code-project-intelligence-save-skill
- Seller: https://agentstack.voostack.com/s/theaichimera
- 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%.
