用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/deathrashed/agents --skill skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | skill |
| description | Create new skill from documentation, llms.txt, or GitHub repo |
Create new skill:
Input: {{args}}
| Type | Example |
|---|---|
| Natural language | /skill create MongoDB integration skill |
| llms.txt URL | /skill create https://docs.example.com/llms.txt |
| GitHub repo | /skill create https://github.com/org/repo |
Create skill file at: ~/.gemini-kit/skills/[skill-name].md
# [Skill Name] Skill
## When to Use
- [Condition 1]
- [Condition 2]
## Key Concepts
### [Topic 1]
[Knowledge content]
### [Topic 2]
[Knowledge content]
## Examples
### Example 1: [Scenario]
[Step-by-step example]
### Example 2: [Scenario]
[Step-by-step example]
## Best Practices
- [Practice 1]
- [Practice 2]
## Common Patterns
[Code patterns and templates]
## Troubleshooting
| Issue | Solution |
|-------|----------|
| [Issue 1] | [Solution 1] |
| Type | Examples |
|---|---|
| Framework | React, Vue, Next.js, Flutter |
| Cloud | AWS, GCP, Azure, Vercel |
| Database | MongoDB, PostgreSQL, Redis |
| Tools | Docker, Kubernetes, Terraform |
| Domain | Auth, Payment, Email, AI/ML |
After creation:
~/.gemini-kit/skills/[skill-name].md# From description
/skill create MongoDB integration with Node.js
# From llms.txt
/skill create https://docs.stripe.com/llms.txt
# From GitHub
/skill create https://github.com/prisma/prisma
When input starts with "fix-logs" or "fix":
Syntax:
/skill fix-logs [skill-name]
/skill fix mongodb-skill
Step 1: Log Analysis
Step 2: Skill Diagnosis
Step 3: Fix Planning
Step 4: Skill Update
Step 5: Validation
Output:
✓ Analyzed: 15 errors in logs.txt
✓ Identified: 3 skill issues
- Incorrect webhook verification code
- Missing SDK import example
- Outdated API endpoint
✓ Fixed: mongodb-skill.md
- Updated webhook example
- Added SDK import section
- Fixed API endpoints
Validation: PASSED
When input starts with "add":
Syntax:
/skill add [skill-name] [reference]
/skill add mongodb https://docs.mongodb.com/llms.txt
/skill add stripe /path/to/examples.md
| Type | Example |
|---|---|
| URL | https://docs.stripe.com/api |
| File | /path/to/reference.md |
| Script | validate-webhook.sh |
Step 1: Validate Skill
Step 2: Analyze Reference Type
Step 3: Process Reference
Step 4: Update Skill
Step 5: Test Activation
Output:
Adding reference to mongodb skill...
✓ Skill found: ~/.gemini-kit/skills/mongodb.md
✓ Reference: https://docs.mongodb.com/llms.txt
✓ Content: 12KB, 45 endpoints
✓ Updated: mongodb.md
New sections added:
- API Endpoints (45)
- Configuration Options (12)
- Examples (8)
When input starts with "optimize":
Syntax:
/skill optimize [skill-name] "[goal]"
/skill optimize mongodb "reduce token usage by 40%"
/skill optimize stripe "improve clarity"
| Goal | Action |
|---|---|
| Token reduction | Remove duplicates, compress |
| Clarity | Better instructions |
| Examples | Add/improve examples |
| Progressive disclosure | On-demand loading |
Step 1: Read Skill Files
Step 2: Analyze Against Goal
Step 3: Create Plan
Step 4: Present to User
OPTIMIZATION PLAN
Skill: mongodb
Goal: Reduce tokens by 40%
Current: 8,400 tokens
Target: 5,040 tokens
Proposed Changes:
1. Consolidate docs: -1,200 tokens
2. Progressive disclosure: -1,400 tokens
3. Compress instructions: -800 tokens
Estimated: 5,000 tokens (40.5% reduction)
Step 5: Wait for Approval
Step 6: Execute
Step 7: Test Optimized Skill
Output:
✓ Optimized: mongodb skill
Before: 8,400 tokens
After: 5,000 tokens
Saved: 3,400 tokens (40.5%)
When input starts with "optimize:auto" or "optimize-auto":
Syntax:
/skill optimize:auto [skill-name] "[goal]"
/skill optimize:auto mongodb "reduce tokens"
| Feature | optimize | optimize:auto |
|---|---|---|
| Approval | ✅ Required | ❌ No |
| Backup | ❌ | ✅ Auto |
| Rollback | ❌ | ✅ Auto |
Step 1: Create Backup
Backup: ~/.gemini-kit/skills/mongodb/.backup-251215-2110/
Step 2: Analyze Goal
Step 3: Apply Changes
Step 4: Validate Syntax
Step 5: Test Activation
Step 6: Report or Rollback
Output:
✓ Backup created
✓ Analyzed: 3 opportunities found
✓ Applied: 3 changes
- Consolidated docs: -800 tokens
- Progressive disclosure: -1,200 tokens
- Compressed instructions: -400 tokens
✓ Syntax valid
✓ Activation successful
Result: 6,400 → 4,000 tokens (37.5% saved)
Rollback (if error):
❌ Activation failed
✓ Rolling back from backup...
✓ Restored original skill
Now process: "{{args}}"