Agent Skillsswarmclawai/swarmclaw › resourceful-problem-solving

resourceful-problem-solving

GitHub

提供无专用工具时的资源性问题解决指南,指导 Agent 通过技能搜索、CLI 工具查找或编写脚本完成任务,避免直接拒绝。

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

Trigger Scenarios

用户请求执行任务但缺乏对应专用工具时 Agent 面临需要自定义解决方案的通用需求时

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

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-18 05:02
浙ICP备14020137号-1 $mapa de visitantes$