Official agent skill

Skill Writer

by intel in intel/torch-xpu-ops

Guide users through creating Agent Skills for Claude Code. An agent skill from intel/torch-xpu-ops.

OfficialApache-2.0Auto-check passedAgent Workflows

Install Skill Writer

skills CLI
$ npx skills add intel/torch-xpu-ops --skill skill-writer -a claude-code

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

GitHub CLI
$ gh skill install intel/torch-xpu-ops skill-writer --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/intel/torch-xpu-ops.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/skill-writer .claude/skills/skill-writer && 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
skill-writer
GitHub stars
115
Used in
3 other repos
Token cost
~2.4k tokens
SKILL.md length
767 words
Files
1
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

Guide users through creating Agent Skills for Claude Code. An agent skill from intel/torch-xpu-ops.

  • Works in 9 steps: Determine Skill scope → Choose Skill location → Create Skill structure → …
  • The user wants to create
  • SKILL.md covers When to use this Skill, Instructions, Advanced usage and Common patterns, plus 5 more sections
  • Calls python, claude and git

What it does

Skill Writer is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Skill authoring. The licence is Apache-2.0.

When your agent uses it

  • The user wants to create
  • Design a new Skill
  • Needs help with SKILL.md files
  • Skill structure

Example prompts

  • “/skill-writer”

Requirements

  • Python 3

Workflow steps

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

  1. Determine Skill scope
  2. Choose Skill location
  3. Create Skill structure
  4. Write SKILL.md frontmatter
  5. Write effective descriptions
  6. Structure the Skill content
  7. Validate the Skill
  8. Test the Skill
  9. Debug if needed

What it can do on your machine

Read from SKILL.md and the folder at commit 0187b3b. 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

    Shell commands in SKILL.md call:

    • python
    • claude
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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

Skill Writer loads about 2.4k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 767 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from intel/torch-xpu-ops at commit 0187b3b, republished under its Apache-2.0 licence (© intel). 767 words, ~2,386 tokens.

Download SKILL.mdSave it as .claude/skills/skill-writer/SKILL.md (or your agent's skills folder).
name
skill-writer
description
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Skill Writer

This Skill helps you create well-structured Agent Skills for Claude Code that follow best practices and validation requirements.

When to use this Skill

Use this Skill when:

  • Creating a new Agent Skill
  • Writing or updating SKILL.md files
  • Designing skill structure and frontmatter
  • Troubleshooting skill discovery issues
  • Converting existing prompts or workflows into Skills

Instructions

Step 1: Determine Skill scope

First, understand what the Skill should do:

  1. Ask clarifying questions:

    • What specific capability should this Skill provide?
    • When should Claude use this Skill?
    • What tools or resources does it need?
    • Is this for personal use or team sharing?
  2. Keep it focused: One Skill = one capability

    • Good: "PDF form filling", "Excel data analysis"
    • Too broad: "Document processing", "Data tools"
Step 2: Choose Skill location

Determine where to create the Skill:

Personal Skills (~/.claude/skills/):

  • Individual workflows and preferences
  • Experimental Skills
  • Personal productivity tools

Project Skills (.claude/skills/):

  • Team workflows and conventions
  • Project-specific expertise
  • Shared utilities (committed to git)
Step 3: Create Skill structure

Create the directory and files:

bash
# Personal
mkdir -p ~/.claude/skills/skill-name

# Project
mkdir -p .claude/skills/skill-name

For multi-file Skills:

skill-name/
├── SKILL.md (required)
├── reference.md (optional)
├── examples.md (optional)
├── scripts/
│   └── helper.py (optional)
└── templates/
    └── template.txt (optional)
Step 4: Write SKILL.md frontmatter

Create YAML frontmatter with required fields:

yaml
---
name: skill-name
description: Brief description of what this does and when to use it
---

Field requirements:

  • name:

    • Lowercase letters, numbers, hyphens only
    • Max 64 characters
    • Must match directory name
    • Good: pdf-processor, git-commit-helper
    • Bad: PDF_Processor, Git Commits!
  • description:

    • Max 1024 characters
    • Include BOTH what it does AND when to use it
    • Use specific trigger words users would say
    • Mention file types, operations, and context

Optional frontmatter fields:

  • allowed-tools: Restrict tool access (comma-separated list)
    yaml
    allowed-tools: Read, Grep, Glob
    Use for:
    • Read-only Skills
    • Security-sensitive workflows
    • Limited-scope operations
Step 5: Write effective descriptions

The description is critical for Claude to discover your Skill.

Formula: [What it does] + [When to use it] + [Key triggers]

Examples:

✅ Good:

yaml
description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

✅ Good:

yaml
description: Analyze Excel spreadsheets, create pivot tables, and generate charts. Use when working with Excel files, spreadsheets, or analyzing tabular data in .xlsx format.

❌ Too vague:

yaml
description: Helps with documents
description: For data analysis

Tips:

  • Include specific file extensions (.pdf, .xlsx, .json)
  • Mention common user phrases ("analyze", "extract", "generate")
  • List concrete operations (not generic verbs)
  • Add context clues ("Use when...", "For...")
Step 6: Structure the Skill content

Use clear Markdown sections:

markdown
# Skill Name

Brief overview of what this Skill does.

## Quick start

Provide a simple example to get started immediately.

## Instructions

Step-by-step guidance for Claude:
1. First step with clear action
2. Second step with expected outcome
3. Handle edge cases

## Examples

Show concrete usage examples with code or commands.

## Best practices

- Key conventions to follow
- Common pitfalls to avoid
- When to use vs. not use

## Requirements

List any dependencies or prerequisites:
```bash
pip install package-name

Advanced usage

For complex scenarios, see reference.md.


### Step 7: Add supporting files (optional)

Create additional files for progressive disclosure:

**reference.md**: Detailed API docs, advanced options
**examples.md**: Extended examples and use cases
**scripts/**: Helper scripts and utilities
**templates/**: File templates or boilerplate

Reference them from SKILL.md:
```markdown
For advanced usage, see [reference.md](reference.md).

Run the helper script:
\`\`\`bash
python scripts/helper.py input.txt
\`\`\`
Step 8: Validate the Skill

Check these requirements:

✅ File structure:

  • SKILL.md exists in correct location
  • Directory name matches frontmatter name

✅ YAML frontmatter:

  • Opening --- on line 1
  • Closing --- before content
  • Valid YAML (no tabs, correct indentation)
  • name follows naming rules
  • description is specific and < 1024 chars

✅ Content quality:

  • Clear instructions for Claude
  • Concrete examples provided
  • Edge cases handled
  • Dependencies listed (if any)

✅ Testing:

  • Description matches user questions
  • Skill activates on relevant queries
  • Instructions are clear and actionable
Step 9: Test the Skill
  1. Restart Claude Code (if running) to load the Skill

  2. Ask relevant questions that match the description:

    Can you help me extract text from this PDF?
  3. Verify activation: Claude should use the Skill automatically

  4. Check behavior: Confirm Claude follows the instructions correctly

Show full SKILL.md (342 more words)Show less
Step 10: Debug if needed

If Claude doesn't use the Skill:

  1. Make description more specific:

    • Add trigger words
    • Include file types
    • Mention common user phrases
  2. Check file location:

    bash
    ls ~/.claude/skills/skill-name/SKILL.md
    ls .claude/skills/skill-name/SKILL.md
  3. Validate YAML:

    bash
    cat SKILL.md | head -n 10
  4. Run debug mode:

    bash
    claude --debug

Common patterns

Read-only Skill
yaml
---
name: code-reader
description: Read and analyze code without making changes. Use for code review, understanding codebases, or documentation.
allowed-tools: Read, Grep, Glob
---
Script-based Skill
yaml
---
name: data-processor
description: Process CSV and JSON data files with Python scripts. Use when analyzing data files or transforming datasets.
---

# Data Processor

## Instructions

1. Use the processing script:
\`\`\`bash
python scripts/process.py input.csv --output results.json
\`\`\`

2. Validate output with:
\`\`\`bash
python scripts/validate.py results.json
\`\`\`
Multi-file Skill with progressive disclosure
yaml
---
name: api-designer
description: Design REST APIs following best practices. Use when creating API endpoints, designing routes, or planning API architecture.
---

# API Designer

Quick start: See [examples.md](examples.md)

Detailed reference: See [reference.md](reference.md)

## Instructions

1. Gather requirements
2. Design endpoints (see examples.md)
3. Document with OpenAPI spec
4. Review against best practices (see reference.md)

Best practices for Skill authors

  1. One Skill, one purpose: Don't create mega-Skills
  2. Specific descriptions: Include trigger words users will say
  3. Clear instructions: Write for Claude, not humans
  4. Concrete examples: Show real code, not pseudocode
  5. List dependencies: Mention required packages in description
  6. Test with teammates: Verify activation and clarity
  7. Version your Skills: Document changes in content
  8. Use progressive disclosure: Put advanced details in separate files

Validation checklist

Before finalizing a Skill, verify:

  • Name is lowercase, hyphens only, max 64 chars
  • Description is specific and < 1024 chars
  • Description includes "what" and "when"
  • YAML frontmatter is valid
  • Instructions are step-by-step
  • Examples are concrete and realistic
  • Dependencies are documented
  • File paths use forward slashes
  • Skill activates on relevant queries
  • Claude follows instructions correctly

Troubleshooting

Skill doesn't activate:

  • Make description more specific with trigger words
  • Include file types and operations in description
  • Add "Use when..." clause with user phrases

Multiple Skills conflict:

  • Make descriptions more distinct
  • Use different trigger words
  • Narrow the scope of each Skill

Skill has errors:

  • Check YAML syntax (no tabs, proper indentation)
  • Verify file paths (use forward slashes)
  • Ensure scripts have execute permissions
  • List all dependencies

Examples

See the documentation for complete examples:

  • Simple single-file Skill (commit-helper)
  • Skill with tool permissions (code-reviewer)
  • Multi-file Skill (pdf-processing)

Output format

When creating a Skill, I will:

  1. Ask clarifying questions about scope and requirements
  2. Suggest a Skill name and location
  3. Create the SKILL.md file with proper frontmatter
  4. Include clear instructions and examples
  5. Add supporting files if needed
  6. Provide testing instructions
  7. Validate against all requirements

The result will be a complete, working Skill that follows all best practices and validation rules.

© intel, 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

Just SKILL.md in .claude/skills/skill-writer of intel/torch-xpu-ops.

Open the folder on GitHubat commit 0187b3b

Used in 3 other repositories

We found 16 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in intel/torch-xpu-ops, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Skill Writer 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.

Skill Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Writer this skillintel/torch-xpu-ops1153 repos~2.4kAutomated safety check: PassApache-2.0
Speak Human TwRaymondhou0917/speak-human-tw1k1 repos~2.2kAutomated safety check: PassMIT
Journal AdaptWantongC/journal-adapt-writing-skill7931 repos~5.2kAutomated safety check: PassMIT
Fastclaw Skill Guidefastclaw-ai/fastclaw1.4k—~1.2kAutomated safety check: PassCustom licence
Yao Interpreter Skillyaojingang/yao-open-skills1.3k—~545Automated safety check: PassMIT
Update Skillwarpdotdev/common-skills606—~1.2kAutomated safety check: PassMIT

Similar skills

  • Speak Human Tw

    Raymondhou0917/speak-human-tw

    「說人話」:繁體中文的去 AI 味改寫 skill。審查與改寫文字,去除 AI 味道、校正中國用語與半形標點,讓文字讀起來像真人寫的。

    1k GitHub starsUsed in 1 repo~2.2k tokens
    Agent WorkflowsAuto-check passed
  • Journal Adapt

    WantongC/journal-adapt-writing-skill

    Dynamic academic writing skill generator. An agent skill from WantongC/journal-adapt-writing-skill.

    793 GitHub starsUsed in 1 repo~5.2k tokens
    Agent WorkflowsAuto-check passed
  • Fastclaw Skill Guide

    fastclaw-ai/fastclaw

    Create new skills for FastClaw agents. An agent skill from fastclaw-ai/fastclaw.

    1.4k GitHub stars~1.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Yao Interpreter Skill

    yaojingang/yao-open-skills

    Analyze local Agent Skill folders, SKILL.md files, or safe zip archives as untrusted input; explain purpose, trigger contract, structure, usage readiness, safety risks, evidence-backed 100-point…

    1.3k GitHub stars~545 tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Update Skill

    warpdotdev/common-skills

    Create or update skills by generating, editing, or refining SKILL.md files in this repository.

    606 GitHub stars~1.2k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Creating Agent Skills

    davekilleen/Dex

    Expert guidance for creating, writing, and refining Claude Code Skills.

    493 GitHub starsUsed in 1 repo~1.7k tokens
    Documents & OfficeAuto-check passed

More from intel/torch-xpu-ops

All 29 skills in this repo
  • Intel GPU Device Selection

    intel/torch-xpu-ops

    Official

    Select the Intel GPU device to use when a system has multiple Intel GPU devices.

    115 GitHub stars~508 tokensUpdated yesterday
    Auto-check passed
  • Xpu CI Health Check

    intel/torch-xpu-ops

    Official

    Check PyTorch ciflow/xpu (xpu.yml) on the main branch, collect the failing XPU test cases from the most recent completed run(s), analyze the ROOT CAUSE of each failure with AI, and produce a list…

    115 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • At Dispatch V2

    intel/torch-xpu-ops

    Official

    Convert PyTorch ATDISPATCH macros to ATDISPATCHV2 format in ATen C++ code.

    115 GitHub starsUsed in 3 repos~2.2k tokens
    Auto-check passed
  • PR Review

    intel/torch-xpu-ops

    Official

    Review pull requests for XPU operator or backend code. An agent skill from intel/torch-xpu-ops.

    115 GitHub stars~4.2k tokensUpdated yesterday
    Auto-check passed
  • Ut Issue Authoring

    intel/torch-xpu-ops

    Official

    Read the evidence a nightly UT run produced, decide which failures share a root cause and which are machine breakage rather than product bugs, and write one issue draft per root cause to drafts.json.

    115 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Ut Refactor Review

    intel/torch-xpu-ops

    Official

    Review PyTorch upstream unit-test (UT) PRs that enable Intel GPU (XPU) on existing tests.

    115 GitHub stars~917 tokensUpdated yesterday
    Auto-check passed

Questions about Skill Writer

What does Skill Writer do?

Guide users through creating Agent Skills for Claude Code. An agent skill from intel/torch-xpu-ops. Skill Writer is an agent skill from intel/torch-xpu-ops, published by the product's own GitHub organization. Guide users through creating Agent Skills for Claude Code.

When should I use Skill Writer?

Skill Writer fits situations like: the user wants to create; design a new Skill; needs help with SKILL.md files; skill structure.

How do I install Skill Writer in Claude Code?

Run `npx skills add intel/torch-xpu-ops --skill skill-writer -a claude-code`. Or copy the skill folder (.claude/skills/skill-writer in intel/torch-xpu-ops) into .claude/skills/skill-writer in your project. Claude Code loads it when a task matches its description.

How do I install Skill Writer in Codex?

Run `npx skills add intel/torch-xpu-ops --skill skill-writer -a codex`. Or copy the skill folder (.claude/skills/skill-writer in intel/torch-xpu-ops) into .agents/skills/skill-writer in your project. Codex loads it when a task matches its description.

Can I use Skill Writer 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 intel/torch-xpu-ops --skill skill-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-writer, .gemini/skills/skill-writer, .github/skills/skill-writer and .opencode/skills/skill-writer in your project.

What does Skill Writer need to run?

Going by SKILL.md and its folder, Skill Writer needs the command-line tools its instructions call (python, claude and git). Our summary lists: Python 3.

Does Skill Writer access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Skill Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Skill Writer use?

Skill Writer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Writer use?

About 2.4k tokens (SKILL.md is roughly 9.5k 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 Skill Writer?

Skills that share tags, products or a category with Skill Writer: Speak Human Tw (Raymondhou0917/speak-human-tw, 1k stars), Journal Adapt (WantongC/journal-adapt-writing-skill, 793 stars), Fastclaw Skill Guide (fastclaw-ai/fastclaw, 1.4k stars) and Yao Interpreter Skill (yaojingang/yao-open-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Writer?

intel (a GitHub organization, an official publisher) maintains it in intel/torch-xpu-ops, which has 115 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 6, 2026.

Source: intel/torch-xpu-ops on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.