skill-creator

skill-creator is a skill for Claude Code, Codex from lfyxhappy/lfcode. It costs 51 tokens per session (861 once invoked), scanned A, original, MIT.

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

Written for no agent in particular: nothing here depends on one. Also seen: $skill-name invocation.

Good fit It is used to create, update, package, or validate user-managed and built-in Lfcode skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lfyxhappy/lfcode/skill-creator
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.

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.

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-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/lfyxhappy/lfcode/skill-creator/github.svg)](https://agentmods.dev/skills/lfyxhappy/lfcode/skill-creator)
Your own site
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/skill-creator"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/skill-creator/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-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/skill-creator"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/skill-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 861 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.
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.00051 $0.00861
Opus 5.5 $0.00020 $0.00344
Sonnet 5.5 $0.00010 $0.00172
Haiku 4.5 $0.00005 $0.00086

Measured 1mo ago against content hash 4fe6bbcf1dd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

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

How it starts

The opening of the file, as written. The whole thing — 63 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 through Settings → Skills. The runtime resolves its managed root from the active Lfcode profile: ordinary installations use ~/.lfcode/skills/<skill-name>/; the pre-release installation uses C:\Users\liangfeng\.lfcodepre\skills/<skill-name>/.
  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 discoverable metadata

  • Put all discovery guidance in description, because that is what Lfcode sees before loading the body.
  • Describe both the task and the situations where the skill is useful. For deterministic automatic activation, write literal user phrases in the standard description: 用户提到解压、改后缀或拍平时使用。 Do not add a triggers field. A matching phrase activates the body directly; unrelated descriptive words do not.
  • Use only name and description in SKILL.md frontmatter. Do not add private activation fields such as triggers, auto_activate, or hidden.
  • Keep the body under 500 lines whenever possible. Put the essential safety rules and workflow in SKILL.md; move long examples, history, API details and variant-specific guidance into directly linked references/ files.
  • Include agents/openai.yaml for user-facing metadata. Settings-created Skills generate it automatically; when authoring manually, keep interface.display_name, interface.short_description, and a $skill-name interface.default_prompt in sync with SKILL.md.

Add bundled resources only when they help

Read the full file on GitHub · 63 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. 1mo ago Changed · +2 lines · -12 tokens per session 4fe6bbcf1dd8
  2. 1mo ago 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 26d ago), licensed MIT. It adds 51 tokens to every session and 861 once invoked, about $0.0002 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-31.