agentleFS
timmo001timmo001/skills/import-external-skill/SKILL.md

import-external-skill

Skill2 starsChanged todayApache-2.0View on GitHub

Import skills from external repositories into this Agent Skills repository. Use when pulling in a public skill, reviewing an external skill set, or adapting upstream content into an existing skill.

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 7 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    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. Very specific:

    Import skills from external repositories into top-level <name>/ directories, preserving source provenance and keeping the result valid …

    line 10
  2. Very specific:

    Keep only Agent Skills frontmatter fields.

    line 22
  3. Very specific:

    Keep an intentional environment dependency when abstraction would make the instructions less truthful, then classify it in PORTABILITY.md.

    line 24
  4. Very specific:

    If the skill is useful as-is, add a skills.yml entry with distribution: external, localEdits: [], and the reviewed SHA.

    line 25
  5. Distinctive:

    Use when the external skill overlaps with or extends an existing local skill.

    line 29
  6. Very specific:

    Add or update the skill's skills.yml entry with the origin, reviewed SHA, licence, and non-empty localEdits declarations.

    line 31
  7. Very specific:

    Run ./dist/skill-maintenance import <name> to generate the complete upstream comparison without replacing the tracked skill.

    line 32
  8. Distinctive:

    Wait for the user to decide which additions to make.

    line 35
  9. Very specific:

    Run ./dist/skill-maintenance check --skill <name> --diff-origin to confirm the adapted import still differs from its complete source.

    line 37
  10. Very specific:

    Commit only when requested, following dot-git-commit.

    line 69
  11. Very specific:

    Before ranking external skills, understand what the user actually works on.

    line 73
  12. Distinctive:

    If recent activity does not clearly indicate the user's primary work, languages, or ownership roles, ask before ranking.

    line 81
  13. Distinctive:

    When given a repo URL without a specific skill path, review the full skill set:

    line 90
  14. Distinctive:

    Wait for the user to choose before importing or adapting anything.

    line 96
  15. Very specific:

    Do not modify existing skills during a direct import.

    line 100
  16. Distinctive:

    Do not import without diffing against the upstream original.

    line 101
  17. Distinctive:

    Do not commit without explicit user request.

    line 102
  18. Very specific:

    Ensure imported scripts are executable (chmod +x) after writing them to disk.

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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.

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

Import External Skill

Import skills from external repositories into top-level <name>/ directories, preserving source provenance and keeping the result valid across Agent Skills clients.

When to Use

  • Pulling in a specific skill from a public repo URL
  • Reviewing an external skill repository for useful additions
  • Adapting external skill content to improve existing local skills

Agent-Specific Repos

External skill repos are often written for a specific agent framework (e.g. Claude Code, Codex, Cursor). This repository distributes an import only when it needs substantive local adaptation:

  • Keep only Agent Skills frontmatter fields. allowed-tools is portable; remove framework-specific fields such as disable-model-invocation and argument-hint.
  • Replace framework-specific tool names, hook mechanisms, or subagent patterns with capability-based instructions when that preserves the workflow.
  • Keep an intentional environment dependency when abstraction would make the instructions less truthful, then classify it in PORTABILITY.md.
  • If the skill is useful as-is, add a skills.yml entry with distribution: external, localEdits: [], and the reviewed SHA. Do not commit its content; ./dist/skill-maintenance install installs it at the pinned SHA.

Adaptation

Use when the external skill overlaps with or extends an existing local skill.

  1. Add or update the skill's skills.yml entry with the origin, reviewed SHA, licence, and non-empty localEdits declarations.
  2. Run ./dist/skill-maintenance import <name> to generate the complete upstream comparison without replacing the tracked skill.
  3. Compare against the existing local skill, identifying gaps and conflicts.
  4. Present the comparison: what the external skill adds, what overlaps, and what conflicts with existing rules.
  5. Wait for the user to decide which additions to make.
  6. Apply the agreed changes to the existing local skill, update the entry's upstreamSha, then run ./dist/skill-maintenance import <name> --metadata-only.
  7. Run ./dist/skill-maintenance check --skill <name> --diff-origin to confirm the adapted import still differs from its complete source.

Frontmatter Format

---
name: skill-name
description: One or two sentences. First sentence says what. Second says when to use.
license: MIT
---

Portable frontmatter fields are name, description, license, compatibility, metadata, and allowed-tools. Do not rely on one client's tolerance for unknown fields, and add no provenance comments: validate rejects them.

Import Record

skills.yml is the single maintenance source for an import's origin, reviewed SHA, licence, local edits, and distribution. skills.schema.json specifies it, and validate requires the canonical form that ./dist/skill-maintenance import <name> --metadata-only writes. That command also copies the local name and licence into SKILL.md.

When the import adapts content, list what differs from upstream in localEdits. This prevents a later review from treating intentional adaptations as drift. List what differs, not a changelog. An entry describes SKILL.md unless it names another file, so prefix only edits to references, scripts or other files:

skills:
  skill-name:
    import:
      upstreamSha: 0123456789abcdef0123456789abcdef01234567
      origin: "https://github.com/org/repo/tree/main/skills/skill-name"
      license: "MIT"
      localEdits:
        - "condensed body, rewritten description"
        - "references/guide.md: framework-specific pattern replaced with local equivalent"

Commit only when requested, following dot-git-commit. Keep upstream attribution in skills.yml and the skill's licence material.

User Context

Before ranking external skills, understand what the user actually works on. Check their GitHub profile for recently pushed repos (gh api users/{user}/repos --paginate --jq ...) to build a picture of:

  • Languages and frameworks used across active repos
  • Ownership roles -- sole owner vs. contributor/maintainer on a shared project
  • Project types -- libraries, applications, tooling, config repos

Skills that assume full control of a project's labelling or team process are only relevant for repos where the user has full ownership, not for shared projects where they are one maintainer among many.

If recent activity does not clearly indicate the user's primary work, languages, or ownership roles, ask before ranking.

Standing Preferences

  • Skip or flag a skill whose core workflow is TDD, red-green-refactor, or test-first. If an otherwise useful skill includes TDD content, note the conflict and offer to adapt it with those parts removed.
  • The user writes their own issues. Skip skills that automate issue creation, break work down into issues, or turn PRDs into tickets.

Review Mode

When given a repo URL without a specific skill path, review the full skill set:

  1. List all available skills in the repo.
  2. Filter out domain-specific skills irrelevant to the user context above, and skills ruled out by the standing preferences.
  3. Compare remaining skills against the existing local skill library for overlaps.
  4. Present a recommendation table: pull in, adapt into existing, or skip -- with reasoning.
  5. Wait for the user to choose before importing or adapting anything.

Safety

  • Do not modify existing skills during a direct import.
  • Do not import without diffing against the upstream original.
  • Do not commit without explicit user request.
  • Ensure imported scripts are executable (chmod +x) after writing them to disk.

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.

Reviews can't be read right now.

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.