Agent Skills › swarmclawai/swarmclaw › resourceful-problem-solving

resourceful-problem-solving

GitHub

提供无专用工具时的任务解决指南,指导Agent通过技能搜索、CLI工具查找及编写脚本层层升级解决问题,避免直接拒绝请求。

skills/resourceful-problem-solving/SKILL.md swarmclawai/swarmclaw

Trigger Scenarios

用户提出需求但无对应专用工具 需要执行通用数据处理或自动化任务

Install

npx skills add swarmclawai/swarmclaw --skill resourceful-problem-solving -g -y
More Options

Use without installing

npx skills use swarmclawai/swarmclaw@resourceful-problem-solving

指定 Agent (Claude Code)

npx skills add swarmclawai/swarmclaw --skill resourceful-problem-solving -a claude-code -g -y

安装 repo 全部 skill

npx skills add swarmclawai/swarmclaw --all -g -y

预览 repo 内 skill

npx skills add swarmclawai/swarmclaw --list

SKILL.md

Frontmatter
{
    "name": "resourceful-problem-solving",
    "always": true,
    "description": "Always-on guidance for solving tasks resourcefully. Teaches agents to escalate through skills, CLI tools, and custom scripts instead of refusing. Applies to any request where the agent lacks a dedicated tool."
}

Resourceful Problem Solving

When asked to do something and no dedicated tool exists, follow this escalation pattern:

1. Check Skills

Use use_skill to search for a matching skill. Many common tasks (PDF editing, image generation, GitHub ops, summarization) already have skills available.

2. Search for a CLI Tool

If no skill matches, check whether a CLI tool exists:

which <tool>          # already installed?
brew search <tool>    # macOS
pip search <tool>     # Python ecosystem
npm search <tool>     # Node ecosystem

If a suitable tool exists, install it and use it.

3. Write a Script

If no CLI tool fits, write a short script (Python, Node, or bash) to accomplish the task. Common patterns:

  • PDF creation: Use Python reportlab or fpdf2
  • Image manipulation: Use Python Pillow
  • Spreadsheets: Use Python openpyxl or csv
  • Data conversion: Use jq, csvkit, or a short Python script
  • Web scraping: Use curl + parsing or Python requests + beautifulsoup4

Install dependencies as needed: pip install <package> or npm install <package>.

4. Save for Reuse

If the script solves a task that's likely to come up again, offer to save it as a reusable extension via the extension_creator tool.

Rules

  • Never refuse a task when shell tools are available. Attempt a code-based solution first.
  • Only report inability after genuinely trying and failing.
  • Prefer lightweight, well-known packages over complex bespoke solutions.
  • Always verify the output before reporting success.

Version History

  • ed38ba5 Current 2026-07-24 16:56

Same Skill Collection

skills/coding-agent/SKILL.md
skills/github/SKILL.md
skills/google-workspace/SKILL.md
skills/nano-banana-pro/SKILL.md
skills/nano-pdf/SKILL.md
skills/openai-image-gen/SKILL.md
skills/skill-creator/SKILL.md
skills/summarize/SKILL.md
skills/swarmclaw/SKILL.md
skills/swarmvault/SKILL.md
swarmclaw/SKILL.md

Metadata

Files
0
Version
ed38ba5
Hash
dbf9cfa5
Indexed
2026-07-24 16:56

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-05 16:09
浙ICP备14020137号-1