skill-factory

skill-factory is a skill for Claude Code, Codex from Szotasz/marveen. It costs 97 tokens per session (1,307 once invoked), scanned A, original, MIT.

A workflow that turns a demonstrated process or conversation into a reusable SKILL.md instruction file. It extracts when the workflow starts, its inputs, steps, tools, decisions, error handling, and expected output.

In plain words
What is it for?
Use it when asked to turn a workflow into a skill, remember a process, save an established method, or generalize lessons from a complex task.
Why use it?
It saves a repeatable process so the agent does not need to reconstruct the same instructions every time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is L=../../scripts/skill-lint.mjs; [ -f "$L" ] || L=scripts/skill-lint.mjs # sub-agent cwd: agents/<name>/; main agent: the install root.

Good fit Use it when asked to turn a workflow into a skill, remember a process, save an established method, or generalize lessons from a complex task.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Szotasz/marveen
agentmods
npx agentmods add skills/szotasz/marveen/skill-factory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-factory

README.md
[![agentmods](https://agentmods.dev/badge/skills/szotasz/marveen/skill-factory/github.svg)](https://agentmods.dev/skills/szotasz/marveen/skill-factory)
Your own site
<a href="https://agentmods.dev/skills/szotasz/marveen/skill-factory"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/skill-factory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-factory

Your own site · 80×15
<a href="https://agentmods.dev/skills/szotasz/marveen/skill-factory"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/skill-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 42
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • high Agent Snooping · line 48
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Rogue Agent · line 93
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 12
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Agent Snooping · line 46
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 85
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 86
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01307
Opus 5.5 $0.00039 $0.00523
Sonnet 5.5 $0.00019 $0.00261
Haiku 4.5 $0.00010 $0.00131

Measured 26d ago against content hash 2411de6ff1d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-factory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/skill-factory/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Factory

Convert demonstrated workflows into reusable skills. This is a meta-skill: it creates other skills.

When to Use

  • User explicitly asks to create a skill from a workflow
  • User says "remember how to do this" or "save this process"
  • After a complex task (5+ tool calls) that could be reusable
  • When user corrects your approach and the correction is generalizable
  • Hungarian triggers: "tanítsd meg magad", "csinálj skill-t", "jegyezd meg"

Procedure

Step 1: Extract the Workflow

Analyze the current conversation (or specified workflow) and identify:

  1. Trigger conditions: When should this skill activate?
  2. Input: What does the skill need to start?
  3. Steps: What are the concrete steps (in order)?
  4. Tools used: Which tools/commands were involved?
  5. Decision points: Where did you need to make choices?
  6. Error handling: What went wrong and how was it fixed?
  7. Output: What's the expected result?

Step 2: Generalize

Don't just copy the specific instance. Abstract it:

  • Replace specific file names with [input-file] patterns
  • Replace specific URLs with [target-url] patterns
  • Identify which parts are constant vs. variable
  • Note any prerequisites or dependencies
  • Think about edge cases the original workflow didn't cover

Step 3: Write SKILL.md

SKILL_NAME="[kebab-case-name]"
mkdir -p ~/.claude/skills/$SKILL_NAME

cat > ~/.claude/skills/$SKILL_NAME/SKILL.md << 'EOF'
---
name: [skill-name]
description: [What it does + when to trigger. Be specific and "pushy" -- include multiple trigger phrases so the skill activates when needed.]
---

# [Skill Name]

## When to Use
[List concrete trigger conditions and contexts]

## Prerequisites
[Dependencies, tools, access needed -- skip if none]

## Procedure
1. [First step -- be specific, include commands]
2. [Second step]
...

## Pitfalls
- **[Problem]**: [How to solve it]

## Verification
- [How to confirm the result is correct]

## Examples
**Example 1:**
Input: [what the user said]
Output: [what was produced]
EOF

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago Changed · +17 lines 2411de6ff1d0
  2. 1mo ago First seen · 125 lines · 97 tokens per session scan A 18a87fba0714

Subscribe to this mod's changes

skill-factory is a skill published in the GitHub repository Szotasz/marveen (123 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 1,307 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.