create-profile
Skill1 starsChanged 13 days agoMITView on GitHub
Creates agent profiles that define roles with scoped permissions and constraints. Investigates the repo for existing profiles and conventions, writes a focused profile markdown file, and validates scope boundaries. Use when the user wants to create an agent profile, define a specialized role, scope an agent to specific files or domains, set up a new team member persona, restrict what an agent can touch, or wants consistent behavior from a domain-specific agent.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openkata-eval-runnerSkill
- openkata-optimize-skillsSkill
- openkata-review-ruleSkill
- openkata-review-skillSkill
- openkata-rule-conventionsSkill
- openkata-ryu-releaseSkill
- openkata-skill-conventionsSkill
- commit-conventionsSkill
- create-adrSkill
- create-evalsSkill
- create-ruleSkill
- create-skillSkill
- critical-thinkingSkill
- github-create-prSkill
- git-worktreeSkill
- grill-meSkill
- grill-with-docsSkill
- makefile-conventionsSkill
- spec-workflowSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Create agent profiles — role definitions that scope an agent to a specific domain with explicit constraints and permissions.
- Distinctive: line 39
Don't ask the user what you can look up yourself.
- Distinctive: line 75
Constraints are non-negotiable: If it's a preference, it belongs in Design Intent.
- Distinctive: line 81
Reference rules, don't repeat them: If a rule covers it, point to it.
- Distinctive: line 85
Verify the scope matches actual file structure
- Distinctive: line 87
Check that referenced rules exist
- Distinctive: line 150
Create profile markdown files in the project's profile directory
- Distinctive: line 155
Create skills or rules (use create-skill, create-rule)
- Distinctive: line 157
Create profiles for non-agent roles
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Profile
Create agent profiles — role definitions that scope an agent to a specific domain with explicit constraints and permissions. Profiles are standalone markdown files that define agent roles.
Workflow
- Gather intent — Understand what the profile should scope.
Collect:
- A short name (lowercase, one word preferred)
- What domain or responsibility the agent covers
- What it should and should not touch
Investigate the repo — Before asking questions, search for facts that reduce ambiguity:
- Existing profiles (find where they live in this repo; ask the user if ambiguous)
- Project structure to understand domain boundaries
- Existing rules that the profile should reference
- File patterns that define the scope
Don't ask the user what you can look up yourself.
- Clarify — Ask only questions that materially affect the
profile:
- Which files/directories are in scope
- Which are explicitly out of scope
- What rules the profile must follow
- Whether the profile has design authority or just executes
Write the profile — Structure:
# <Name> Agent One-line role description — domain and boundary. ## Constraints - Hard rules this agent must follow - Which rules or conventions the profile must follow ## Scope What files and actions are in bounds. What is explicitly out of bounds. When to stop and hand off. ## Design Intent How this agent should approach decisions within its domain. What aesthetic or architectural principles guide its choices.Writing principles:
- Scope is a boundary, not a task list. State what's in and out, not every possible action.
- Constraints are non-negotiable. If it's a preference, it belongs in Design Intent.
- Include a stop condition. State when the agent should stop and hand off to a human or another profile.
- Keep it under 40 lines. A profile is a lens, not a manual.
- Reference rules, don't repeat them. If a rule covers it, point to it.
- Validate — Check the profile against the repo:
- Verify the scope matches actual file structure
- Confirm no overlap with existing profiles
- Check that referenced rules exist
- Confirm — Show the user the created profile and ask if adjustments are needed.
Example Scenario
User: "I want an agent that only handles database migrations and schema changes."
- Investigates repo — finds
migrations/, Flyway config, existingfrontendprofile for reference - Asks: "Should it also handle seed data, or just schema?"
- Creates
database.mdprofile scoping tomigrations/and schema files, excluding application code - Validates — directory exists, no overlap with frontend profile
Example Output
# Database Agent
Manages database migrations and schema changes.
## Constraints
- Follow the git-naming rule for branches and commits
- Never modify application code
- Run migrations in a transaction when supported
## Scope
Modify only:
- `migrations/`
- `schema/`
Do not touch: application code, API handlers, frontend.
If a migration requires application changes, describe
what's needed and stop.
## Design Intent
Prefer reversible migrations. Every up migration has a
corresponding down. Avoid data-destructive operations
without explicit confirmation.Common Failures
- Scope too broad — "handles backend" is half the repo. Narrow to specific directories or file types.
- Scope too narrow — if the agent can't do useful work within its boundaries, the profile is over-constrained.
- Missing stop condition — without "stop and hand off" guidance, the agent will attempt out-of-scope work rather than flagging it.
- Duplicates a rule — if the constraint applies to all agents, it's a rule, not a profile constraint.
Boundaries
Does:
- Create profile markdown files in the project's profile directory
- Investigate repo structure to define scope
- Reference existing rules
Does not:
- Create skills or rules (use create-skill, create-rule)
- Modify existing profiles without confirmation
- Create profiles for non-agent roles
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

