← Back to Skills Marketplace
guim4dev

Magic Need

by Thiago Guimarães · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
269
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install magic-need
Description
Capture tool and data needs from AI agents during task execution. When an agent identifies it needs a tool, API, or data source that doesn't exist, this skil...
README (SKILL.md)

magic-need

Capture what your AI agent wishes it had. Let your agent spec your product for you.

Overview

When an AI agent is executing a task and hits a wall because it lacks data or tools, instead of just failing or working around it, this skill lets the agent register exactly what it's missing. Over time, this builds a prioritized roadmap of integrations and features.

Inspired by Sonarly's magic_fetch concept — give the agent a "tool that does nothing" and let it tell you what it actually needs.

Usage

As an Agent (During Task Execution)

When you realize you need something you don't have:

# Option 1: Use the CLI directly
node ~/.openclaw/skills/magic-need/scripts/cli.js "API for recent deploys of service X"

# Option 2: Use via shell exec
exec({
  command: 'node ~/.openclaw/skills/magic-need/scripts/cli.js "CPU metrics for upstream service"'
})

The CLI will:

  1. Save the need to ~/.magic-need/needs.json
  2. Auto-categorize it (integration, observability, devops, auth, database, storage)
  3. Return a confirmation with the need ID

As a Human (Reviewing Needs)

# List all needs
node scripts/cli.js list

# Generate a report (grouped by category)
node scripts/cli.js report

# Archive resolved needs
node scripts/cli.js clear

Auto-Categorization

Needs are automatically categorized based on description keywords:

Category Keywords Example Need
integration api, endpoint "API for fetching user data"
observability metric, log, monitor "Error logs from last hour"
devops deploy, pipeline, ci "Recent deployments of service X"
auth user, auth, login, permission "Auth tokens for service Y"
database database, db, query, schema "Query to get active users"
storage file, storage, upload, s3 "Upload files to cloud storage"
general (default) Other needs

Data Format

Needs are stored as JSON in ~/.magic-need/needs.json:

[
  {
    "id": "j8ldlr",
    "description": "API for recent deploys",
    "createdAt": "2026-03-07T18:09:18.123Z",
    "status": "pending",
    "category": "integration"
  }
]

Report Format

The report command outputs a formatted summary:

🪄 **Magic Need Report** — 4 pending

🔌 **INTEGRATION** (2)
  • API for recent deploys of auth-service
  • Feature flags toggled recently

📊 **OBSERVABILITY** (1)
  • CPU metrics for upstream database

📝 **GENERAL** (1)
  • Tool to visualize data flow

Best Practices

Good Need Descriptions

Be specific about what you need:

  • ✅ "API endpoint for deploys in the last 2 hours, filtered by service name"
  • ✅ "CPU and memory metrics for upstream auth-service pods"
  • ✅ "Feature flags that changed in the last 24h for api-gateway"
  • ✅ "Sentry errors grouped by affected user segment"

Bad Need Descriptions

Avoid vague descriptions:

  • ❌ "need more data"
  • ❌ "can't do this without tools"
  • ❌ "would be nice to have logs"

Integration Roadmap

Periodically review the generated reports to:

  1. Identify patterns (which categories have the most needs?)
  2. Prioritize integrations (which needs block the most tasks?)
  3. Build the most impactful tools first

CLI Reference

See scripts/cli.js for the full implementation.

Commands

Command Description
cli.js "description" Register a new need
cli.js list List all needs
cli.js report Generate formatted report
cli.js clear Archive pending needs

Cron Integration

To receive daily reports, set up a cronjob:

# Daily at 10 PM
0 22 * * * node ~/.openclaw/skills/magic-need/scripts/cli.js report | your-notification-script

Or use OpenClaw's cron system to send reports to a Discord channel.

Usage Guidance
This skill appears to do what it claims: let agents register missing tools/data and store them locally. Before installing, consider: 1) the needs file accepts arbitrary text — agents might log sensitive values (tokens, credentials, PII). Decide whether to run this only for trusted agents or to add sanitization/redaction. 2) Restrict file permissions on ~/.magic-need/needs.json (chmod 600) and regularly review/rotate/archive entries. 3) If you plan to pipe reports to external notification scripts (Discord/Slack), review the report output to ensure it doesn't leak secrets. 4) Verify the intended install source (README references a GitHub repo) if you want an upstream origin; repository provenance reduces supply-chain risk.
Capability Analysis
Type: OpenClaw Skill Name: magic-need Version: 1.0.0 The 'magic-need' skill is a utility designed to let AI agents log missing tools or data requirements to a local file (~/.magic-need/needs.json) for later review. The implementation in scripts/cli.js uses standard Node.js modules for file system operations and contains no network activity, data exfiltration, or dangerous execution logic.
Capability Assessment
Purpose & Capability
Name/description match the included CLI implementation. The script stores, lists, reports, and archives 'needs' in a user-local JSON file (~/.magic-need/needs.json), which is exactly what the skill advertises. No unrelated capabilities or credentials are requested.
Instruction Scope
Runtime instructions tell agents to call the local CLI (node ~/.openclaw/skills/magic-need/scripts/cli.js) or exec the tool; the CLI only reads/writes the local needs file and prints reports. Note: the skill accepts arbitrary free-text descriptions, so agents (or untrusted callers) could write sensitive strings (tokens, secrets, log snippets) into the stored file—there is no sanitization or redaction step.
Install Mechanism
There is no install spec (instruction-only + included CLI). All code is plaintext in the skill bundle; nothing downloads or executes remote code. README suggests optional git clone or ClawHub install but the package itself contains the CLI script.
Credentials
The skill requires no environment variables, binaries, or external credentials—appropriate for its purpose. However, because it stores arbitrary agent-provided strings in a local file, it can inadvertently collect sensitive data; this is a data-exposure risk even though no external credentials are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide configuration, and only writes to its own directory (~/.magic-need). Its persistence is limited to a per-user data file and standard CLI behavior.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install magic-need
  3. After installation, invoke the skill by name or use /magic-need
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of magic-need — a tool for capturing and prioritizing unmet agent needs. - Provides a CLI to register missing tools, APIs, or data sources identified by AI agents during execution. - Automatically categorizes needs (integration, observability, devops, auth, database, storage, general). - Stores needs in JSON format for review and reporting. - Includes list, report, and clear commands to manage and review needs. - Designed to build an actionable integration and feature roadmap from real agent feedback.
Metadata
Slug magic-need
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Magic Need?

Capture tool and data needs from AI agents during task execution. When an agent identifies it needs a tool, API, or data source that doesn't exist, this skil... It is an AI Agent Skill for Claude Code / OpenClaw, with 269 downloads so far.

How do I install Magic Need?

Run "/install magic-need" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Magic Need free?

Yes, Magic Need is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Magic Need support?

Magic Need is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Magic Need?

It is built and maintained by Thiago Guimarães (@guim4dev); the current version is v1.0.0.

💬 Comments