Agent skill

Packmind Create Skill

by PackmindHub in PackmindHub/packmind

Guide for creating effective skills. An agent skill from PackmindHub/packmind.

Apache-2.0Auto-check: notes

Install Packmind Create Skill

skills CLI
$ npx skills add PackmindHub/packmind --skill packmind-create-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PackmindHub/packmind packmind-create-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PackmindHub/packmind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.gitlab/duo/skills/packmind-create-skill .claude/skills/packmind-create-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
packmind-create-skill
GitHub stars
317
Token cost
~3.5k tokens
SKILL.md length
1,812 words
Files
5 (incl. scripts)
Skills in repo
35
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guide for creating effective skills. An agent skill from PackmindHub/packmind.

  • Works in 8 steps: Understanding the Skill with Concrete… → Planning the Reusable Skill Contents → Initializing the Skill → …
  • SKILL.md covers About Skills, Prerequisites and Skill Creation Process
  • Runs Python scripts from its folder; calls python3, npm and brew

What it does

Packmind Create Skill is an agent skill from PackmindHub/packmind. Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends GitLab Duo's capabilities with specialized knowledge, workflows, or tool integrations.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts (for example `README.md`, `scripts/init_skill.py` and `scripts/quick_validate.py`).

It works with GitLab. The repository describes itself as: Packmind seamlessly captures your engineering playbook and turns it into AI context, guardrails, and governance. The licence is Apache-2.0.

Example prompts

  • “/packmind-create-skill”

Requirements

  • Python 3
  • Node.js

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Understanding the Skill with Concrete Examples
  2. Planning the Reusable Skill Contents
  3. Initializing the Skill
  4. Edit the Skill
  5. Validating a Skill
  6. Iterate
  7. Distributing a Skill
  8. Offer to Add to Package

What it can do on your machine

Read from SKILL.md and the folder at commit 8a10541. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • npm
    • brew
    • apt-get
    • winget

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • python.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Packmind Create Skill loads about 3.5k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 1,812 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:103
    - **Ubuntu/Debian**: `sudo apt-get install python3`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from PackmindHub/packmind at commit 8a10541, republished under its Apache-2.0 licence (© PackmindHub). 1,812 words, ~3,521 tokens.

Download SKILL.mdSave it as .claude/skills/packmind-create-skill/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
packmind-create-skill
description
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends GitLab Duo's capabilities with specialized knowledge, workflows, or tool integrations.
license
Complete terms in LICENSE.txt
metadata.packmind-cli-version
< 0.25.0

Create skill

This skill provides guidance for creating effective skills.

About Skills

Skills are modular, self-contained packages that extend GitLab Duo's capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform GitLab Duo from a general-purpose agent into a specialized agent equipped with procedural knowledge that no model can fully possess.

What Skills Provide
  1. Specialized workflows - Multi-step procedures for specific domains
  2. Tool integrations - Instructions for working with specific file formats or APIs
  3. Domain expertise - Company-specific knowledge, schemas, business logic
  4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
Anatomy of a Skill

Every skill consists of a required SKILL.md file and optional bundled resources:

skill-name/
├── SKILL.md (required)
│   ├── YAML frontmatter metadata (required)
│   │   ├── name: (required)
│   │   └── description: (required)
│   └── Markdown instructions (required)
└── Bundled Resources (optional)
    ├── scripts/          - Executable code (Python/Bash/etc.)
    ├── references/       - Documentation intended to be loaded into context as needed
    └── assets/           - Files used in output (templates, icons, fonts, etc.)
SKILL.md (required)

Metadata Quality: The name and description in YAML frontmatter determine when GitLab Duo will use the skill. Be specific about what the skill does and when to use it. Use the third-person (e.g. "This skill should be used when..." instead of "Use this skill when...").

Bundled Resources (optional)
Scripts (scripts/)

Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.

  • When to include: When the same code is being rewritten repeatedly or deterministic reliability is needed
  • Example: scripts/rotate_pdf.py for PDF rotation tasks
  • Benefits: Token efficient, deterministic, may be executed without loading into context
  • Note: Scripts may still need to be read by GitLab Duo for patching or environment-specific adjustments
References (references/)

Documentation and reference material intended to be loaded as needed into context to inform GitLab Duo's process and thinking.

  • When to include: For documentation that GitLab Duo should reference while working
  • Examples: references/finance.md for financial schemas, references/mnda.md for company NDA template, references/policies.md for company policies, references/api_docs.md for API specifications
  • Use cases: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
  • Benefits: Keeps SKILL.md lean, loaded only when GitLab Duo determines it's needed
  • Best practice: If files are large (>10k words), include grep search patterns in SKILL.md
  • Avoid duplication: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
Assets (assets/)

Files not intended to be loaded into context, but rather used within the output GitLab Duo produces.

  • When to include: When the skill needs files that will be used in the final output
  • Examples: assets/logo.png for brand assets, assets/slides.pptx for PowerPoint templates, assets/frontend-template/ for HTML/React boilerplate, assets/font.ttf for typography
  • Use cases: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
  • Benefits: Separates output resources from documentation, enables GitLab Duo to use files without loading them into context
Progressive Disclosure Design Principle

Skills use a three-level loading system to manage context efficiently:

  1. Metadata (name + description) - Always in context (~100 words)
  2. SKILL.md body - When skill triggers (<5k words)
  3. Bundled resources - As needed by GitLab Duo (Unlimited*)

*Unlimited because scripts can be executed without reading into context window.

Prerequisites

Before running any skill scripts, verify that the required tools are available:

Python 3

Check if Python 3 is installed:

bash
python3 --version

If not available, install it:

  • macOS: brew install python3
  • Ubuntu/Debian: sudo apt-get install python3
  • Windows: Download from https://python.org or use winget install Python.Python.3
Packmind CLI

Check if packmind-cli is installed:

bash
packmind-cli --version

If not available, install it:

bash
npm install -g packmind-cli

Skill Creation Process

To create a skill, follow the "Skill Creation Process" in order, skipping steps only if there is a clear reason why they are not applicable.

Step 1: Understanding the Skill with Concrete Examples

Skip this step only when the skill's usage patterns are already clearly understood. It remains valuable even when working with an existing skill.

To create an effective skill, clearly understand concrete examples of how the skill will be used. This understanding can come from either direct user examples or generated examples that are validated with user feedback.

For example, when building an image-editor skill, relevant questions include:

  • "What functionality should the image-editor skill support? Editing, rotating, anything else?"
  • "Can you give some examples of how this skill would be used?"
  • "I can imagine users asking for things like 'Remove the red-eye from this image' or 'Rotate this image'. Are there other ways you imagine this skill being used?"
  • "What would a user say that should trigger this skill?"

To avoid overwhelming users, avoid asking too many questions in a single message. Start with the most important questions and follow up as needed for better effectiveness.

Conclude this step when there is a clear sense of the functionality the skill should support.

Step 2: Planning the Reusable Skill Contents

To turn concrete examples into an effective skill, analyze each example by:

  1. Considering how to execute on the example from scratch
  2. Identifying what scripts, references, and assets would be helpful when executing these workflows repeatedly

Example: When building a pdf-editor skill to handle queries like "Help me rotate this PDF," the analysis shows:

  1. Rotating a PDF requires re-writing the same code each time
  2. A scripts/rotate_pdf.py script would be helpful to store in the skill

Example: When designing a frontend-webapp-builder skill for queries like "Build me a todo app" or "Build me a dashboard to track my steps," the analysis shows:

  1. Writing a frontend webapp requires the same boilerplate HTML/React each time
  2. An assets/hello-world/ template containing the boilerplate HTML/React project files would be helpful to store in the skill

Example: When building a big-query skill to handle queries like "How many users have logged in today?" the analysis shows:

  1. Querying BigQuery requires re-discovering the table schemas and relationships each time
  2. A references/schema.md file documenting the table schemas would be helpful to store in the skill

To establish the skill's contents, analyze each concrete example to create a list of the reusable resources to include: scripts, references, and assets.

Show full SKILL.md (821 more words)Show less
Step 3: Initializing the Skill

At this point, it is time to actually create the skill.

Skip this step only if the skill being developed already exists, and iteration or packaging is needed. In this case, continue to the next step.

Before running the script, verify that python3 and packmind-cli are available (see Prerequisites section). If not installed, install them first.

When creating a new skill from scratch, always run the init_skill.py script. The script conveniently generates a new template skill directory that automatically includes everything a skill requires, making the skill creation process much more efficient and reliable.

Usage:

bash
python3 scripts/init_skill.py <skill-name> --path <output-directory>

IMPORTANT: The --path argument must be the parent directory where the skill folder will be created, not the skill directory itself. The script automatically creates a subdirectory named after the skill.

  • ✅ Correct: python3 scripts/init_skill.py my-skill --path .claude/skills → creates .claude/skills/my-skill/
  • ❌ Wrong: python3 scripts/init_skill.py my-skill --path .claude/skills/my-skill → creates .claude/skills/my-skill/my-skill/ (nested!)

The script:

  • Creates the skill directory at the specified path
  • Generates a SKILL.md template with proper frontmatter and TODO placeholders
  • Creates example resource directories: scripts/, references/, and assets/
  • Adds example files in each directory that can be customized or deleted

After initialization, customize or remove the generated SKILL.md and example files as needed.

Step 4: Edit the Skill

When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of GitLab Duo to use. Focus on including information that would be beneficial and non-obvious to GitLab Duo. Consider what procedural knowledge, domain-specific details, or reusable assets would help another GitLab Duo instance execute these tasks more effectively.

File Placement Rule: Always create files directly in their target subdirectory. Never create a file at the skill root and move it later.

  • Reference docs → references/filename.md
  • Scripts → scripts/filename.py
  • Assets → assets/filename.ext
  • Only SKILL.md, README.md, and LICENSE.txt belong at the skill root.
Start with Reusable Skill Contents

To begin implementation, start with the reusable resources identified above: scripts/, references/, and assets/ files. Note that this step may require user input. For example, when implementing a brand-guidelines skill, the user may need to provide brand assets or templates to store in assets/, or documentation to store in references/.

Also, delete any example files and directories not needed for the skill. The initialization script creates example files in scripts/, references/, and assets/ to demonstrate structure, but most skills won't need all of them.

Update SKILL.md

Writing Style: Write the entire skill using imperative/infinitive form (verb-first instructions), not second person. Use objective, instructional language (e.g., "To accomplish X, do Y" rather than "You should do X" or "If you need to do X"). This maintains consistency and clarity for AI consumption.

To complete SKILL.md, answer the following questions:

  1. What is the purpose of the skill, in a few sentences?
  2. When should the skill be used?
  3. In practice, how should GitLab Duo use the skill? All reusable skill contents developed above should be referenced so that GitLab Duo knows how to use them.
Step 5: Validating a Skill

Before distributing, validate the skill to ensure it meets all requirements.

Before running the script, verify that python3 is available (see Prerequisites section). If not installed, install it first.

bash
python3 scripts/quick_validate.py <path/to/skill-folder>

The validation script checks:

  • YAML frontmatter format and required fields
  • Skill naming conventions and directory structure
  • Description completeness and quality

If validation fails, fix the reported errors and run the validation again.

Step 6: Iterate

After testing the skill, users may request improvements. Often this happens right after using the skill, with fresh context of how the skill performed.

Iteration workflow:

  1. Use the skill on real tasks
  2. Notice struggles or inefficiencies
  3. Identify how SKILL.md or bundled resources should be updated
  4. Implement changes and test again
Step 7: Distributing a Skill

After successful validation, always run the distribution command to register the skill with Packmind. Do not skip this step.

Before running the command, verify that packmind-cli is available (see Prerequisites section). If not installed, install it first.

Run the following command with the actual skill path:

bash
packmind-cli skills add <path/to/skill-folder>

This registers the skill with Packmind, making it available for deployment to target repositories and AI coding agents.

Step 8: Offer to Add to Package

After successful distribution, check if the skill fits an existing package:

  1. Run packmind-cli install --list to get available packages
  2. If no packages exist, skip this step silently and end the workflow
  3. Analyze the created skill's name and description against each package's name and description
  4. If a package is a clear semantic fit (the skill's domain/technology aligns with the package's purpose):
    • Present to user: "This skill seems to fit the <package-slug> package."
    • Offer three options:
      • Add to <package-slug>
      • Choose a different package
      • Skip
  5. If no clear fit is found, skip silently (do not mention packages)
  6. If user chooses to add:
    • Run: packmind-cli packages add --to <package-slug> --skill <skill-slug>
    • Ask: "Would you like me to run packmind-cli install to sync the changes?"
    • If yes, run: packmind-cli install

© PackmindHub, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in .gitlab/duo/skills/packmind-create-skill of PackmindHub/packmind.

  • SKILL.md
  • LICENSE.txt
  • README.md
  • scripts/init_skill.py
  • scripts/quick_validate.py

Open the folder on GitHubat commit 8a10541

Compare with similar skills

Packmind Create Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Packmind Create Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Packmind Create Skill this skillPackmindHub/packmind317—~3.5kAutomated safety check: NotesApache-2.0
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT
Check PRonyx-dot-app/onyx32k2 repos~2.3kAutomated safety check: PassMIT
Visual Reviewai-dynamo/dynamo8.2k—~4.5kAutomated safety check: PassApache-2.0
Debate ReviewamElnagdy/review-skills1322 repos~986Automated safety check: PassMIT
degit Project ScaffoldingRich-Harris/degit7.9k—~534Automated safety check: PassMIT

Similar skills

  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Visual Review

    ai-dynamo/dynamo

    Create self-contained interactive HTML code-review dashboards from GitHub or GitLab pull requests, checked-out branch diffs, or supplied unified diffs, with correctness and safe-to-merge scores…

    8.2k GitHub stars~4.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Debate Review

    amElnagdy/review-skills

    Two-model debate review of a GitHub PR, GitLab MR, Azure DevOps PR, or local working tree, posted as inline comments or printed.

    132 GitHub starsUsed in 2 repos~986 tokens
    DevelopmentAuto-check passed
  • degit Project Scaffolding

    Rich-Harris/degit

    Downloads a repository snapshot or template with degit into an empty folder, from GitHub, GitLab, Bitbucket, Sourcehut or a Gist, optionally at a branch, tag or commit.

    7.9k GitHub stars~534 tokensUpdated 24 days ago
    DevelopmentAuto-check passed
  • Greploop Apps

    michaelshimeles/skills

    Loops on a large pull request, merge request or Perforce changelist, fixing Greptile findings until it scores 5/5 with no unresolved comments.

    1.3k GitHub starsUsed in 1 repo~3.6k tokens
    DevelopmentAuto-check passed

More from PackmindHub/packmind

All 35 skills in this repo
  • Michel CLI Demo Recorder

    PackmindHub/packmind

    Produce proof-of-execution demos of the Packmind CLI (packmind-cli) as terminal-styled images (colors and formatting preserved exactly), for embedding in a GitHub PR.

    317 GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Michel UI Demo Recorder

    PackmindHub/packmind

    Record polished UI demo videos and screenshots of a running web app using Playwright MCP — for client deliverables, release notes, feature walkthroughs, or bug repros.

    317 GitHub stars~6.4k tokensUpdated today
    Auto-check passed
  • Doc Audit

    PackmindHub/packmind

    Audit Packmind end-user documentation (apps/doc/) for broken links, outdated CLI references, non-existent concepts, misleading information, and missing coverage.

    317 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Feature Sprint

    PackmindHub/packmind

    Execute the implementation plan produced by /feature-spec. An agent skill from PackmindHub/packmind.

    317 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Review an implemented GitHub issue the way a senior Packmind engineer would — the human-judgment checks that ESLint, the TypeScript compiler, and e2e tests cannot catch (authorization scoping…

    317 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Packmind Update Playbook

    PackmindHub/packmind

    A skill your agent uses when updating, adding, fixing, changing, or deprecating Packmind playbook artifacts (standards, commands, skills).

    317 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Works with

Questions about Packmind Create Skill

What does Packmind Create Skill do?

Guide for creating effective skills. An agent skill from PackmindHub/packmind. Packmind Create Skill is an agent skill from PackmindHub/packmind. Guide for creating effective skills.

How do I install Packmind Create Skill in Claude Code?

Run `npx skills add PackmindHub/packmind --skill packmind-create-skill -a claude-code`. Or copy the skill folder (.gitlab/duo/skills/packmind-create-skill in PackmindHub/packmind) into .claude/skills/packmind-create-skill in your project. Claude Code loads it when a task matches its description.

How do I install Packmind Create Skill in Codex?

Run `npx skills add PackmindHub/packmind --skill packmind-create-skill -a codex`. Or copy the skill folder (.gitlab/duo/skills/packmind-create-skill in PackmindHub/packmind) into .agents/skills/packmind-create-skill in your project. Codex loads it when a task matches its description.

Can I use Packmind Create Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PackmindHub/packmind --skill packmind-create-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/packmind-create-skill, .gemini/skills/packmind-create-skill, .github/skills/packmind-create-skill and .opencode/skills/packmind-create-skill in your project.

What does Packmind Create Skill need to run?

Going by SKILL.md and its folder, Packmind Create Skill needs Python for the scripts in its folder and the command-line tools its instructions call (python3, npm, brew, apt-get and winget). Our summary lists: Python 3; Node.js.

Does Packmind Create Skill access the network?

SKILL.md names 1 domain. As links in the text: python.org. This is read from the text; nothing was executed.

Is Packmind Create Skill safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Packmind Create Skill use?

Packmind Create Skill is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Packmind Create Skill use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Packmind Create Skill?

Skills that share tags, products or a category with Packmind Create Skill: Greploop (onyx-dot-app/onyx, 32k stars), Check PR (onyx-dot-app/onyx, 32k stars), Visual Review (ai-dynamo/dynamo, 8.2k stars) and Debate Review (amElnagdy/review-skills, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Packmind Create Skill?

PackmindHub (a GitHub organization) maintains it in PackmindHub/packmind, which has 317 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 8, 2026.

Source: PackmindHub/packmind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.