Codumentor logo Codumentor Enterprise

Skills Plugin

The Skills plugin implements the Agent Skills open standard: reusable capabilities the agent can pick up, invoked with a slash command such as /review or /write-tests.

Using skills

Type a slash command that matches a skill name at the start of your message:

/review
/review src/api.py
/write-tests MyClass

The skill's instructions are added as context, and any text after the command is passed through as your request. A chip in the turn's receipt strip shows which skill ran.

The agent is also told which skills exist, so it can follow one when your task matches even if you do not type the slash command. That list carries only each skill's name and description; the instructions load when the agent picks the skill. A project skill it reads with read_file (.codumentor/skills/<name>/SKILL.md). A system, organization or user skill lives outside the workspace, so the agent loads it with the read_skill tool instead, which also reads the skill's other files (references/, scripts/) but nothing outside the skill's directory. The agent cannot run those scripts in place: it has to copy one into the workspace first. A profile whose capability policy withholds read_skill does not list those skills to the agent at all. They still work as / commands.

Disable individual skills in Settings → Agent Skills → Disabled Skills.

Skill discovery

Skills are loaded from four places. Later sources override earlier ones with the same name:

  1. System — skills bundled with Codumentor (when builtin_enabled is true)
  2. Organization — directories listed in skill_dirs
  3. Project — .codumentor/skills/ inside each indexed repository (when project_skills_enabled is true)
  4. User — ~/.codumentor/skills/ (or user_skills_dir)

Skills shipped with Codumentor

SkillWhat it does
/code-reviewReviews a diff, branch or pull request for correctness bugs and reports findings with file:line evidence.
/simplifyCleans up recent changes for reuse, simplicity and efficiency without changing behavior.
/long-taskRuns a multi-phase plan to completion, delegating each phase to subagents and verifying with a separate one.
/agent-instructionsWrites or updates a repository's AGENTS.md.
/skill-creatorTurns a procedure that worked into a new skill.
/creative-divergenceSeeds each creative candidate with fresh randomness for more varied results.

A project, organization or user skill with the same name replaces the shipped one. Turn individual ones off under Disabled Skills, or all of them with builtin_enabled: false. They live in src/codumentor/plugins/skills/builtin/.

Writing a skill

A skill is a directory whose name matches the skill name, containing a SKILL.md file:

review/
├── SKILL.md        # Required: frontmatter + instructions
├── scripts/        # Optional: helper scripts
└── references/     # Optional: extra documents

SKILL.md example:

---
name: review
description: Perform a thorough code review focusing on security and correctness
license: MIT
---

You are an expert code reviewer. Analyze the provided code for:
1. Security vulnerabilities (injection, auth, secrets)
2. Logic errors and edge cases
3. Performance issues
4. Code style and maintainability

Provide a structured review with severity ratings.

The name must be 1–64 characters, lowercase letters, numbers, and hyphens, starting with a letter, and must match the directory name.

Configuration

plugins:
  - module: codumentor.plugins.skills
    class: SkillsPlugin
    args:
      enabled: true
      builtin_enabled: true
      project_skills_enabled: true
      user_skills_dir: ~/.codumentor/skills
      max_active_skills: 5
      skill_dirs:
        - skills/                     # Relative to the config file directory
        - /opt/shared-skills
      trust_policy:
        allow_scripts: true
        allowed_sources_for_scripts:
          - system
          - organization
        require_approval_for:
          - project
ParameterTypeDefaultDescription
enabledbooltrueEnable or disable the plugin.
builtin_enabledbooltrueLoad skills bundled with Codumentor.
project_skills_enabledbooltrueLoad skills from .codumentor/skills/ in each indexed repo.
user_skills_dirstring~/.codumentor/skillsPersonal skills directory.
max_active_skillsint5Maximum number of skills injected into a single prompt.
skill_dirslist[]Extra organization-level skill directories. Relative paths resolve against the config file directory.
trust_policy.allow_scriptsbooltrueAllow skill helper scripts at all. When false, the agent is told not to run scripts from any skill.
trust_policy.allowed_sources_for_scriptslist["system", "organization"]Skill sources whose scripts/ directories the agent may use.
trust_policy.require_approval_forlist["project"]Skill sources the trust policy marks as needing approval.

Notes