smart-skill-maker
Smart Skill Maker
This is the single SmartWorkers skill-authoring entry point.
It uses $skill-creator as the core drafting and improvement engine, then applies the repo's shared conventions from:
skills/general/smart-skill-maker/assets/templates/SKILL.mdskills/general/smart-skill-maker/references/AUTHORING.mdskills/general/smart-skill-maker/scripts/new_skill.sh
Required inputs
- Target role and skill name
- Whether the task is creating a new skill or improving an existing one
- The workspace root path
- Whether the source copy already exists under
skills/<role>/<skill-name>/ - Whether the skill should also include
agents/openai.yaml - The worker role the skill belongs to
Workflow
-
Confirm the workspace authoring prerequisites.
skill-creatorshould already be installed for Codex.npx skillsshould already be available.- The workspace should have a local
skills/folder withskills/AGENTS.md.
-
Load the canonical SmartWorkers authoring materials.
- Use
skills/general/smart-skill-maker/assets/templates/SKILL.mdas the default scaffold. - Use
skills/general/smart-skill-maker/references/AUTHORING.mdas the house-style reference. - Keep
skills/AGENTS.mdshort and operational: it should define local apply behavior, not duplicate the full style guide.
- Use
-
Make
skills/the source of truth.- For a new skill, create
skills/<role>/<skill-name>/. - Treat
<role>as the worker identity and usage scope. A role is not just a tool category; it represents a real worker with related skills and one or more workflows. - Similar capabilities may appear in different roles when the real job, workflow, or acceptance criteria differ. For example, a copy writer and an ads designer may both have image-generation skills, but those skills should still stay role-specific if the worker expectations are different.
- For an existing installed skill with no source copy yet, copy
.agents/skills/<skill-name>/intoskills/<role>/<skill-name>/first, using the role that worker should own. - After that point, edit only the source copy in
skills/.
- For a new skill, create
-
Use
$skill-creatorfor the draft or improvement loop.- Let
$skill-creatorhandle generic skill drafting, refinement, and iteration. - Keep SmartWorkers-specific structure here:
- routing detail in frontmatter
description - safe placeholders in
workers.example.jsonc - working files in
logs/ - final deliverables in
artifacts/ - reusable helpers in
scripts/,assets/, andreferences/
- routing detail in frontmatter
- Let
-
Apply SmartWorkers conventions before finishing.
- Keep
namealigned with the skill folder name, and keep that name stable across routine revisions. - Add and maintain a frontmatter
metadata.skill_versionvalue so the skill revision is easy to identify without renaming the skill. - Increment
metadata.skill_versionevery time the skill is updated. - Keep the skill body lean and operational.
- Keep
agents/openai.yamlin sync when present. - Keep documented file references repo-relative; do not hardcode machine-specific absolute filesystem paths.
- Avoid secrets and real credentials in skill files.
- When the authoring workflow changes, update this skill's
assets/,references/, andscripts/so the installed workflow and the written conventions do not drift apart.
- Keep
-
Scaffold safely when a new source folder is needed.
- From the repo root:
bash skills/general/smart-skill-maker/scripts/new_skill.sh --role <role> --name <skill-name>
- Preview output goes to
logs/smart-skill-maker/<timestamp>/<role>/<skill-name>/. - Use
--applyonly after reviewing the scaffold and making any SmartWorkers-specific adjustments.
- From the repo root:
-
Apply the source skill to Codex with
npx skills.- From the workspace root, run:
npx skills add -a codex -y ./skills --skill <skill-name>
- Use
npx skillsas the only install/update path into.agents/skills/. - Do not manually patch
.agents/skills/<skill-name>/.
- From the workspace root, run:
-
Report the result.
- Name the source folder under
skills/. - Confirm the apply command used.
- Confirm the installed Codex copy is now managed by
npx skills.
- Name the source folder under
Outputs
- Source skill under
skills/<role>/<skill-name>/ - Installed Codex skill managed under
.agents/skills/<skill-name>/ - Shared templates and authoring guide under
skills/general/smart-skill-maker/ - Any working notes or review material under
logs/
Definition of done
- The source copy exists under
skills/<role>/<skill-name>/ - The skill follows SmartWorkers conventions
- The skill keeps a stable
nameand an explicit frontmattermetadata.skill_version metadata.skill_versionwas incremented for this update- The updated skill has been applied to Codex with
npx skills add -a codex -y ./skills --skill <skill-name> - No manual source-of-truth edits were left only inside
.agents/skills/ - If the authoring workflow changed, the supporting
assets/,references/, andscripts/underskills/general/smart-skill-maker/were updated too
Safety / quality checklist
- Do not treat
.agents/skills/as the editable source of truth. - Do not mix manual copying into
.agents/skills/withnpx skillsupdates. - Do not commit secrets or paste credential values into skill files.
- Do not let the installed
smart-skill-makercontract drift away from the shared template and authoring guide.
More from lingkaix/smartworkers
ads-info-gatherer
Use when the user needs a dealer car-ad source pack built from live web sources or a provided worker-pack folder, with VIN-anchored retail truth, source assets, and provenance preserved for downstream generation and review.
7ads-suite-pipeline
Run the full dealer car-ad production pipeline from source pack or approved anchor design to final approved deliverables: generate clean images, review/regenerate, build SVG copy overlays, and finish consistent multi-size or multi-model suites. Use whenever the user asks to produce a full ad suite, continue from an approved ad, adapt one campaign across sizes/models, review and improve generations, or keep retail offer copy exact while moving from source pack to deliverable assets.
7fal-nano-banana-2-image-gen
Generate images from text prompts using fal.ai Nano Banana 2 (fal-ai/nano-banana-2). Use when you need fast text-to-image variants for ads, concepts, or backgrounds.
6workspace-setup
Initialize a SmartWorkers-style agent workspace with repo-root guidance, `logs/`/`temp/`/`artifacts/`, a local `skills/` source tree, ignore rules, config templates, and the required global `mise` plus `npx skills`, `skill-creator`, and `smart-skill-maker` bootstrap completed in one turn by default. Use when starting a new agent workspace, bootstrapping a fresh project folder for repeatable agent work, or standardizing README, WORKFLOW, AGENTS, and skill-management flow before adding more automation.
5fal-veo3-image-to-video
Generate videos from a reference image using fal.ai Veo 3.1 image-to-video (`fal-ai/veo3.1/image-to-video`). Use when you need short video variants (ad b-roll, product shots, storyboards) from a still image, with final outputs saved to `artifacts/` and request/response logs saved to `logs/`.
1fal-qwen-image-edit
Generate and edit images from reference images using fal.ai Qwen (`fal-ai/qwen-image-edit-2511`). Use when you need image-to-image edits/variations, background swaps, style alignment, or multiple aspect-ratio outputs (e.g., square + 16:9) from the same prompt.
1