ワンクリックで
skill-manager
Native Python-based skill management for enabling/disabling skills, configuring permissions, and managing settings.local.json
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Native Python-based skill management for enabling/disabling skills, configuring permissions, and managing settings.local.json
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
AgentHero AI - Hierarchical multi-agent orchestration system with PM coordination, file-based state management, and interactive menu interface. Use when managing complex multi-agent workflows, coordinating parallel sub-agents, or organizing large project tasks with multiple specialists. All created agents use aghero- prefix.
Fetch and download images from the internet in various formats (JPG, PNG, GIF, WebP, BMP, SVG, etc.). Use when users ask to download images, fetch images from URLs, save images from the web, or get images for embedding in documents or chats. Supports single and batch downloads with automatic format detection.
Token-efficient markdown parsing, editing, and diagram generation using native CLI tools (Windows/Mac/Linux compatible)
Generate comprehensive, fact-checked SAP technical articles and configuration guides with embedded images, flowcharts, and references. Use when users request SAP documentation, how-to guides, configuration tutorials, process explanations, or technical articles on SAP topics (ECC, S/4HANA, modules like SD, MM, FI, PP, ABAP, OData APIs, archiving, etc.). Creates professional Word documents with proper formatting and web-sourced visual aids with built-in image downloading.
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 Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Update project changelog with uncommitted changes, synchronize package versions, and create version releases with automatic commit, conditional git tags, GitHub Releases, and push
| name | skill-manager |
| description | Native Python-based skill management for enabling/disabling skills, configuring permissions, and managing settings.local.json |
| version | 1.0.0 |
| author | Generic Claude Code Framework |
| tags | ["skill-management","permissions","configuration","settings","productivity","native-script"] |
| auto-activate | false |
Native Python-based skill management for Claude Code - Zero token overhead!
This skill provides a native Python script that handles skill discovery, enabling/disabling, and permission management WITHOUT requiring LLM parsing. This saves 90% tokens compared to LLM-based skill management.
Token Savings:
CRITICAL: Before executing EACH python/bash command, MUST output:
🔧 [skill-manager] Running: <command>
Examples:
🔧 [skill-manager] Running: python .claude/skills/skill-manager/scripts/skill-manager.py discover
🔧 [skill-manager] Running: python .claude/skills/skill-manager/scripts/skill-manager.py enable cli-modern-tools
🔧 [skill-manager] Running: python .claude/skills/skill-manager/scripts/skill-manager.py toggle-feature cli-modern-tools eza
🔧 [skill-manager] Running: bash .claude/skills/colored-output/color.sh success "" "Configuration updated"
Why: This pattern helps users identify which skill is executing which command, improving transparency and debugging.
# Discover all skills (formatted output)
python .claude/skills/skill-manager/scripts/skill-manager.py discover
# List all skills
python .claude/skills/skill-manager/scripts/skill-manager.py list
# List only enabled skills
python .claude/skills/skill-manager/scripts/skill-manager.py list --filter enabled
# List only disabled skills
python .claude/skills/skill-manager/scripts/skill-manager.py list --filter disabled
# Output as JSON (for Claude to parse)
python .claude/skills/skill-manager/scripts/skill-manager.py json
# Enable a skill
python .claude/skills/skill-manager/scripts/skill-manager.py enable colored-output
# Disable a skill
python .claude/skills/skill-manager/scripts/skill-manager.py disable time-helper
# Show detailed info about a skill
python .claude/skills/skill-manager/scripts/skill-manager.py status changelog-manager
# Export current configuration as JSON
python .claude/skills/skill-manager/scripts/skill-manager.py export
Use colored-output skill for headers and results only (2 calls max):
# START: Header only
bash .claude/skills/colored-output/color.sh skill-header "skill-manager" "Managing skills..."
# MIDDLE: Run Python script (produces formatted output)
python .claude/skills/skill-manager/scripts/skill-manager.py list
# END: Result only (if needed)
bash .claude/skills/colored-output/color.sh success "" "Configuration updated!"
/cs-skill-managementStep 1: Run discovery script
python .claude/skills/skill-manager/scripts/skill-manager.py json
Output (JSON):
[
{
"skill_name": "changelog-manager",
"name": "changelog-manager",
"description": "Update project changelog...",
"version": "2.8.0",
"author": "Claude Code",
"tags": ["changelog", "versioning"],
"auto_activate": true,
"enabled": true,
"permissions": [
"Skill(changelog-manager)",
"Bash(python scripts/generate_docs.py:*)"
]
},
...
]
Step 2: Parse JSON and present interactive menu
Claude receives the JSON, parses it instantly (no file reads needed!), and displays:
⚙️ Skill Management - Interactive Mode
========================================
Available Skills: 7 total
├─ Enabled: 4 skills
├─ Not Configured: 3 skills
└─ Categories: Release, CLI, Documentation, Time, Output, Development
1. View All Skills (7)
2. View Enabled Skills (4)
3. View Not Configured Skills (3)
4. Browse by Category
5. Search for Skill
🔧 Quick Actions:
6. Enable a Skill
7. Disable a Skill
8. Configure Skill Permissions
9. View Skill Details
Enter choice (1-9) or 'q' to quit:
Step 3: Execute user choice
If user chooses "6. Enable a Skill":
# User selects: colored-output
python .claude/skills/skill-manager/scripts/skill-manager.py enable colored-output
Output:
✅ Enabled: colored-output
Settings.local.json is automatically updated!
Users can also call the slash command with arguments for instant actions:
# Quick enable
/cs-skill-management enable colored-output
# Quick disable
/cs-skill-management disable time-helper
# Quick status
/cs-skill-management status changelog-manager
# Quick list
/cs-skill-management list enabled
Implementation:
# Claude detects arguments and calls:
python .claude/skills/skill-manager/scripts/skill-manager.py enable colored-output
.claude/skills/ directorySkill(skill-name) from settings.local.jsonThe slash command .claude/commands/cs-skill-management.md should be updated to:
**When user invokes `/cs-skill-management [args]`:**
1. **Parse arguments** (if any)
2. **Run Python script** with appropriate action
3. **Display results** to user
4. **Handle interactive menu** (if no arguments)
**Examples:**
- `/cs-skill-management` → Interactive menu
- `/cs-skill-management enable colored-output` → Quick enable
- `/cs-skill-management list enabled` → Quick list
Before (LLM-based):
After (Script-based):
Savings: 750 tokens (94% reduction)
The script automatically finds the project root by searching for .claude/ directory:
current = Path.cwd()
while current != current.parent:
if (current / '.claude').exists():
self.project_root = current
break
current = current.parent
pathlib.Path for Windows/Mac/Linux compatibilitySimple frontmatter parser (no external deps):
--- markersTo add new script actions, modify skill-manager.py:
# Add to argument choices
parser.add_argument('action',
choices=['discover', 'list', 'enable', 'disable',
'status', 'export', 'json', 'YOUR_ACTION'],
help='Action to perform')
# Add handler in main()
elif args.action == 'YOUR_ACTION':
manager.your_custom_method()
Add custom skill filters:
def list_skills(self, filter_type: str = 'all') -> None:
skills = self.discover_skills()
if filter_type == 'by-tag':
# Custom tag-based filtering
skills = [s for s in skills if 'your-tag' in s['tags']]
$ python .claude/skills/skill-manager/scripts/skill-manager.py discover
📋 Skills (7 total)
✅ changelog-manager (v2.8.0)
Update project changelog with uncommitted changes
Permissions: 4 configured
✅ cli-modern-tools (v1.0.0)
Auto-suggest modern CLI tool alternatives
Permissions: 1 configured
⬜ colored-output (v1.0.0)
Centralized colored output formatter
Permissions: 0 configured
...
$ python .claude/skills/skill-manager/scripts/skill-manager.py status changelog-manager
📊 Skill Details: changelog-manager
============================================================
Basic Info:
Name: changelog-manager
Version: 2.8.0
Description: Update project changelog with uncommitted changes
Author: Claude Code
Status:
✅ Enabled
Auto-activate: Yes
Permissions (4):
✅ Skill(changelog-manager)
✅ Bash(python scripts/generate_docs.py:*)
✅ Bash(git tag:*)
✅ Bash(git commit:*)
Tags:
changelog, versioning, git, release-management
.claude/skills/skill-manager/
├── skill.md # This file (skill instructions)
├── scripts/
│ └── skill-manager.py # Native Python script
└── README.md # User documentation (optional)
Potential additions:
rich or textual for terminal UI