Agent skill

skills-repo-maintenance

Add or update skills in a skills repository for Codex and/or Claude Code. Use when creating new skills, packaging .skill files for Codex, or converting a skill into a Claude Code plugin (marketplace.json + plugin.json).

Stars 5
Forks 2

Install this agent skill to your Project

npx add-skill https://github.com/akiojin/skills/tree/main/skills-repo-maintenance

SKILL.md

Skills Repo Maintenance

Overview

Maintain a skills repository and keep Codex and Claude Code artifacts in sync.

Workflow

0) Defaults to apply

  • Target runtime: Codex + Claude Code (both).
  • Package output: must be specified by the user every time (no default).

1) Identify the repo root

  • Use the current repo (git root) as the base.
  • Example: git rev-parse --show-toplevel

2) Decide the target runtime(s)

  • Default is both. If the user explicitly asks for only one runtime, confirm before skipping the other.
  • Codex: add a skill folder with SKILL.md at repo root.
  • Claude Code: add a plugin folder with .claude-plugin/plugin.json and update .claude-plugin/marketplace.json.
    • For both, do both and package .skill files for Codex distribution.

3) Create or update the skill content

  • Skill folder must contain SKILL.md with YAML frontmatter (name, description).
  • Use lowercase + hyphens for skill names.
  • Put extra materials under references/, scripts/, assets/ as needed.

4) Claude Code plugin requirements (if applicable)

  • Plugin lives at repo root (e.g. drawio/, gh-fix-ci/, cli-design/).
  • Add .claude-plugin/plugin.json inside the plugin folder.
  • Add an entry to <repo-root>/.claude-plugin/marketplace.json:
    • name, source, description, version, category, keywords
  • If the plugin contains multiple skills, place them under <plugin>/skills/<skill-name>/SKILL.md.

5) Codex packaging (if applicable)

  • Package to the user-specified output directory using the skill packager.
  • On Windows, set UTF-8 to avoid decode errors.
powershell
$env:PYTHONUTF8=1
$codexHome = $env:CODEX_HOME
if (-not $codexHome) { $codexHome = "$env:USERPROFILE\.codex" }
$outDir = "<output-dir>"
python "$codexHome\skills\.system\skill-creator\scripts\package_skill.py" `
  "<repo-root>\\<skill-folder>" `
  $outDir
bash
export PYTHONUTF8=1
codex_home="${CODEX_HOME:-$HOME/.codex}"
out_dir="<output-dir>"
python "$codex_home/skills/.system/skill-creator/scripts/package_skill.py" \
  "<repo-root>/<skill-folder>" \
  "$out_dir"

Repeat for each Codex-supported skill.

6) Update documentation

  • README.md
    • Add to Available Plugins and Usage (Claude Code) when pluginized.
    • Add to Available Codex skills and Usage (Codex) when packaged.

7) Commit + push

  • Ensure codex-skills/dist/*.skill are tracked for Codex delivery.
  • Push changes and open PR if required by your workflow.

Notes

  • Codex reads skills from .codex/skills folders; .skill is a packaged zip for distribution.
  • Claude Code requires the plugin entry in .claude-plugin/marketplace.json.

Expand your agent's capabilities with these related and highly-rated skills.

akiojin/skills

inkjs-design

Ink.js (React for CLI) design and implementation guide. Use when: (1) Creating or modifying Ink.js components (2) Implementing Ink-specific hooks (useInput, useApp, useFocus) (3) Handling emoji/icon width issues (string-width workarounds) (4) Building terminal-responsive layouts (5) Managing multi-screen navigation (6) Implementing animations (spinners, progress bars) (7) Optimizing performance (React.memo, useMemo) (8) Handling keyboard input and shortcuts (9) Testing CLI UI (ink-testing-library)

5 2
Explore
akiojin/skills

speckit-require

GitHub Spec Kit (https://github.com/github/spec-kit) を使って要件定義や仕様作成(仕様策定・仕様書作成・仕様設計を含む)を新規作成または既存仕様へ追記し、spec.md/plan.md/tasks.mdまで生成・更新する。要件定義、要件追加/変更、TDD前提の要件整理、仕様の明文化、Spec Kitのspecify/clarify/plan/tasksフロー実行が求められるときに使用。

5 2
Explore
akiojin/skills

speckit-update

GitHub Spec Kit (https://github.com/github/spec-kit) のベースバージョン更新やテンプレート/スクリプト同期を行うための手順。Spec Kitの更新、上流リリースとの差分適用、templates/commands/scriptsの取り込み、ローカル運用(日本語化・ブランチ非操作・SPEC-[UUID8桁])の維持が必要なときに使用する。

5 2
Explore
akiojin/skills

gh-fix-ci

Backward-compatible wrapper skill. The current workflow is `gh-fix-pr`.

5 2
Explore
akiojin/skills

gh-pr-check

Check GitHub PR status with the gh CLI, including unmerged PR detection and post-merge new-commit detection for the current branch.

5 2
Explore
akiojin/skills

gh-fix-issue

Analyze a GitHub Issue to extract error context, stack traces, file references, and cross-references. Classify the issue, search the codebase for relevant files, produce a structured Issue Analysis Report, and propose a concrete fix plan. Post progress updates to the issue.

5 2
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results