agentleFS
swarmclawaiswarmclawai/swarmclaw/skills/resourceful-problem-solving/SKILL.md

resourceful-problem-solving

Skill690 starsChanged 5 months agoMITView on GitHub

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.

  • Installs packages

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 9
  2. Very specific:

    Use use_skill to search for a matching skill.

    line 13
  3. Distinctive:

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

    line 17
  4. Distinctive:

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

    line 26
  5. Distinctive:

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

    line 30
  6. Very specific:

    PDF creation: Use Python reportlab or fpdf2

    line 32
  7. Very specific:

    Image manipulation: Use Python Pillow

    line 33
  8. Very specific:

    Spreadsheets: Use Python openpyxl or csv

    line 34
  9. Very specific:

    Data conversion: Use jq, csvkit, or a short Python script

    line 35
  10. Very specific:

    Web scraping: Use curl + parsing or Python requests + beautifulsoup4

    line 36
  11. Very specific:

    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.

    line 42
  12. Distinctive:

    Never refuse a task when shell tools are available.

    line 46
  13. Distinctive:

    Only report inability after genuinely trying and failing.

    line 47
  14. Distinctive:

    Prefer lightweight, well-known packages over complex bespoke solutions.

    line 48
  15. Distinctive:

    Always verify the output before reporting success.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.