agentleFS
mrzhangguoguomrzhangguoguo/oh-my-workbuddy/skills/skill/SKILL.md

skill

Skill2 starsChanged 5 months agoMITView on GitHub

Manage local WorkBuddy skills - list, add, remove, search, edit, info, sync, setup. Use for skill authoring and inventory.

29 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use report.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    report

    Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. 0 are common, 13 are distinctive, and 11 are very specific to this project.

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 11

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If metadata is missing, show "N/A".

    line 27
  2. Distinctive:

    Ask for the skill name if not provided — validate: lowercase, hyphens only, no spaces.

    line 31
  3. Very specific:

    Ask for a one-line description.

    line 32
  4. Very specific:

    Ask for triggers (comma-separated keywords).

    line 33
  5. Very specific:

    Ask for scope: user or project.

    line 34
  6. Distinctive:

    Create the file with this template:

    line 35
  7. Distinctive:

    Remove a skill by name.

    line 65
  8. Very specific:

    Search both scopes for <name>/SKILL.md.

    line 66
  9. Distinctive:

    If found, show its info and ask for confirmation ("Delete '<name>'?

    line 67
  10. Distinctive:

    If confirmed, delete the whole skill directory.

    line 68
  11. Distinctive:

    If not found, report: "Skill '<name>' not found in user or project scope."

    line 69
  12. Distinctive:

    Safety: never delete without explicit confirmation.

    line 70
  13. Distinctive:

    Read current content with the Read tool.

    line 75
  14. Very specific:

    Ask what to change: description | triggers | content | rename | cancel.

    line 77
  15. Distinctive:

    Search skills by name, description, triggers, or full content (case-insensitive).

    line 82
  16. Very specific:

    Use Grep with the query across both skill directories.

    line 83
  17. Very specific:

    Ensure both skill directories exist (create with Bash mkdir -p if missing).

    line 95
  18. Very specific:

    Run the /skill list scan and show the inventory.

    line 96
  19. Very specific:

    Add new skill → invoke /skill add

    line 98
  20. Distinctive:

    Import skill → accept a URL or pasted markdown, ask for scope, validate and save

    line 101
  21. Very specific:

    When creating a skill, you may reuse these proven shapes (express frontmatter in WorkBuddy format — name, description, agent_created: true, …

    line 108
  22. Distinctive:

    Every command must handle: missing directory, permission errors, malformed YAML, duplicate names, invalid names (spaces/special chars).

    line 119
  23. Very specific:

    Use Read/Edit/Write tools for file operations.

    line 126
  24. Distinctive:

    Always confirm destructive operations (remove, overwrite on sync).

    line 127

“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ported from oh-my-codex skill. OMX runtime conventions ($macro invocation, omx CLI, .omx/ state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list, .workbuddy/memory).

Skill Management

Meta-skill for managing WorkBuddy skills via CLI-like subcommands. WorkBuddy skills are just directories containing a SKILL.md with YAML frontmatter.

Two scopes:

  • user — ~/.workbuddy/skills/<name>/SKILL.md (available across all projects)
  • project — .workbuddy/skills/<name>/SKILL.md (committed with the repo, team-shared)

Subcommands

/skill list

Show all local skills organized by scope.

  1. Scan ~/.workbuddy/skills/ and .workbuddy/skills/ with Glob (**/SKILL.md).
  2. For each file, read the frontmatter (name, description, triggers).
  3. Display an organized table (Name | Triggers | Description | Scope).
  4. If metadata is missing, show "N/A".

/skill add [name]

Interactive wizard for creating a new skill.

  1. Ask for the skill name if not provided — validate: lowercase, hyphens only, no spaces.
  2. Ask for a one-line description.
  3. Ask for triggers (comma-separated keywords).
  4. Ask for scope: user or project.
  5. Create the file with this template:
---
name: <name>
description: <one sentence: what it does + when to use + trigger keywords>
agent_created: true
triggers: ["<trigger1>", "<trigger2>"]
---

# <Name> Skill

## Purpose
[Describe what this skill does]

## When to Activate
[Describe triggers and conditions]

## Workflow
1. [Step 1]
2. [Step 2]

## Examples
[Usage examples]
  1. Report success with the file path.
  2. Suggest: "Edit with /skill edit <name> to customize content."

/skill remove <name>

Remove a skill by name.

  1. Search both scopes for <name>/SKILL.md.
  2. If found, show its info and ask for confirmation ("Delete '<name>'? (yes/no)") via the AskUserQuestion tool or chat.
  3. If confirmed, delete the whole skill directory.
  4. If not found, report: "Skill '<name>' not found in user or project scope." Safety: never delete without explicit confirmation.

/skill edit <name>

Edit an existing skill interactively.

  1. Find the skill by name (search both scopes).
  2. Read current content with the Read tool.
  3. Show current values (description, triggers, content).
  4. Ask what to change: description | triggers | content | rename | cancel.
  5. For the selected field, show current value, ask for new value, update via Edit/Write.
  6. Report a summary of changes.

/skill search <query>

Search skills by name, description, triggers, or full content (case-insensitive).

  • Use Grep with the query across both skill directories.
  • Rank name/trigger matches above content matches.
  • Show each match with context (where the query matched).

/skill info <name>

Show detailed info about one skill: scope, description, triggers, file path, and full content (read the file).

/skill sync

Compare user and project scopes and report sync opportunities (user-only, project-only, common). For any desired copy, ask for confirmation before moving files between scopes. Never overwrite without confirmation.

/skill setup

Guided wizard.

  1. Ensure both skill directories exist (create with Bash mkdir -p if missing).
  2. Run the /skill list scan and show the inventory.
  3. Offer a quick-actions menu via AskUserQuestion:
    • Add new skill → invoke /skill add
    • List skills → invoke /skill list
    • Scan conversation for skill-worthy patterns → look for non-obvious debugging solutions, codebase-specific workarounds, repeated error patterns; offer to extract one as a skill
    • Import skill → accept a URL or pasted markdown, ask for scope, validate and save
    • Done

/skill scan

Quick scan of both skill directories (subset of /skill setup without the wizard).

Skill Templates

When creating a skill, you may reuse these proven shapes (express frontmatter in WorkBuddy format — name, description, agent_created: true, triggers):

  • Error Solution — The Insight / Why It Matters / Recognition Pattern / The Approach (step-by-step with file:line refs) / Example.
  • Workflow — Insight / Why It Matters / Recognition Pattern / Approach / Gotchas.
  • Code Pattern — Principle / Recognition / Approach (heuristic, not just code) / Example / Anti-Pattern.
  • Integration — Insight / Recognition / Approach (config + setup + verification) / Gotchas.

Skill Quality Guidelines

Good skills are: Non-Googleable (codebase-specific), Context-Specific (real files/errors), Actionable with Precision (exact what + where), and Hard-Won (required real debugging effort).

Error Handling

Every command must handle: missing directory, permission errors, malformed YAML, duplicate names, invalid names (spaces/special chars). Report clearly:

✗ Error: <clear message>
→ Suggestion: <helpful next step>

Notes

  • Use Read/Edit/Write tools for file operations; use Glob/Grep for discovery.
  • Always confirm destructive operations (remove, overwrite on sync).
  • Validate naming (lowercase, hyphens only) on add/edit.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.