Creating Skills
Agent Buildingcreating-skillsCreating Skills is an Agent Skill for agent building published in the microsoft/FluidFramework repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when you need to create a new custom skill for a profile - guides through gathering requirements, creating directory structure, writing SKILL.md, and optionally adding bundled scripts
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/microsoft/FluidFramework/blob/HEAD/.agency/plugins/nori/skills/creating-skills/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/creating-skills, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
- Gather skill requirements from me
- Select target profile
- Create skill directory structure
- Write SKILL.md with proper frontmatter
- (Optional) Write and bundle scripts
- Instruct the user to run /nori-switch-profile to switch profiles.
Overview
This skill guides you through creating custom skills that persist across sessions. Skills are stored in profile directories and can include markdown instructions, checklists, and optional bundled scripts.
Writing Skills
Every skill must start with a required checklist block:
<required>
*CRITICAL* Add the following steps to your Todo list using TodoWrite:
1. <step 1>
2. <step 2>
...
</required>
This is the most important part of a skill.
Each step may have guidelines underneath. For example:
1. Create a directory.
Use `mkdir foo/bar`
2. Make a file.
...
Writing scripts
Skills may be bundled with scripts. Scripts are simple code cli tools that do various things deterministically.
Any scripts you write should be entirely self contained. Ask the user which language they prefer.
The scripts should be callable from the Bash tool.
The script should be stored in the same place as the skill. Add a section to the SKILL.md on how to use the script. If the script is required to be called, add that instruction to the block.
Tools and Code
Document which tools are necessary for the skill.
The SKILL should explicitly encourage writing code. The agent should be told to write code to call a tool any time the agent needs to call any tools more than once. The agent should write code instead of calling tools itself.
Steps that reference tools and APIs should inline them in the step by step process.