skill-creator

A guide for creating and maintaining skills for Lfcode, including where to store them and which files each skill needs.

In plain words
What is it for?
It is used to create, update, package, or validate user-managed and built-in Lfcode skills.
Why use it?
It helps skill authors produce skills that Lfcode can find, understand, and use correctly.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/lfyxhappy/lfcode/skill-creator
Any agent
npx skills add lfyxhappy/lfcode --skill skill-creator
Clone the repo
git clone --depth 1 https://github.com/lfyxhappy/lfcode

Made for: Claude Code, Codex.

Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.00653
Opus 5 $0.00032 $0.00327
Sonnet 5 $0.00013 $0.00131
Haiku 4.5 $0.00006 $0.00065

Measured yesterday against content hash dd2ab5c61b3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill-creator 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 yesterday.

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.

packages/lfcode/src/skill/lfcode/.bundle/skill-creator/SKILL.md · 61 lines

How it starts

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

Lfcode Skill Creator

Create only the files another Lfcode agent needs.

Choose the skill type

  1. Create a user-managed skill under <lfcode-config-root>/skills/<skill-name>/ when the skill should live in user data and be editable from the app.
  2. Create a built-in skill under packages/lfcode/src/skill/lfcode/.bundle/<skill-name>/ when the skill should ship with Lfcode itself.
  3. Keep the folder name identical to the skill name. Use lowercase letters, digits, and hyphens only.

Create the minimum structure

Every skill needs SKILL.md with YAML frontmatter:

---
name: your-skill-name
description: Explain what the skill does and when Lfcode should use it.
---

Then write the body as operational instructions, not user-facing marketing text.

Write triggerable metadata

  • Put all trigger guidance in description, because that is what Lfcode sees before loading the body.
  • Describe both the task and the situations that should activate the skill.
  • Keep the body concise. Move large references, scripts, or assets into files beside SKILL.md inside the same skill folder.

Add bundled resources only when they help

  • Add scripts/ when the same deterministic steps would otherwise be rewritten each time.
  • Add references/ when the skill needs domain rules, APIs, or schemas that should be read only on demand.
  • Add assets/ when the skill needs templates or other files to copy or transform.
  • Do not create extra documentation like README.md or changelogs just for the skill.

Validate the right path

For a user-managed skill:

  1. Create or update files under <lfcode-config-root>/skills/<skill-name>/.
  2. Confirm the folder contains SKILL.md.
  3. Refresh skills in the app or call the skill discovery path again if needed.

For a built-in skill:

  1. Create or update files under packages/lfcode/src/skill/lfcode/.bundle/<skill-name>/.
  2. Remember that the bundle extractor copies everything under that folder into the runtime lfcode-skills/<version>/skills/<skill-name>/ directory.
  3. Add or update a test in packages/lfcode/test/skill/skill.test.ts so discovery proves the bundled skill exists and contains the expected instructions.

Read the full file on GitHub · 61 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. yesterday First seen · 61 lines · 63 tokens per session scan A dd2ab5c61b3c

Subscribe to this mod's changes

skill-creator is a skill published in the GitHub repository lfyxhappy/lfcode (2 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 653 once invoked, about $0.0003 per session on Opus 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-31.