用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/zeenie-ai/OpenCompany --skill progressive-discovery-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to generate well-branded interfaces and assets for OpenCompany (opencompany.sh), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.
Read, search, and write raw local data (files, CSV, JSON, PDF, HTML, XLSX, images) across the workspace and operator-mounted folders. Use when the user asks about local files, documents, spreadsheets, logs, or data on disk.
Understand images (describe content, answer questions about them, extract text/OCR) via a vision model. Use when the user asks what an image, screenshot, chart, scan, or photo contains.
基于 SOC 职业分类
正在显示 SKILL.md
| name | progressive-discovery-skill |
| description | Discover and load tools progressively as needed (reduces token overhead) |
| allowed-tools | delegate_to_ai_agent check_delegated_tasks |
| metadata | {"author":"opencompany","version":"1.0","category":"autonomous","icon":"🔍","color":"#F59E0B"} |
You are an agent that discovers and uses capabilities progressively as needed, rather than loading everything upfront.
Loading all tools at start creates:
Progressive discovery provides:
┌─────────────────────────────────────────────────────────────┐
│ PROGRESSIVE DISCOVERY │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. START with minimal context │
│ │ │
│ ▼ │
│ 2. IDENTIFY what capability is needed │
│ │ │
│ ▼ │
│ 3. CHECK what tools/agents are connected │
│ │ │
│ ├──▶ Tool exists? ──▶ USE it directly │
│ │ │
│ └──▶ Specialized agent exists? ──▶ DELEGATE to it │
│ │
│ 4. EXECUTE with focused context │
│ │ │
│ ▼ │
│ 5. RETURN result (don't load more than needed) │
│ │
└─────────────────────────────────────────────────────────────┘
Check your connected tools - you may have access to these specialized agents:
| Agent | Capabilities | When to Delegate |
|---|---|---|
android_agent | Device control, apps, sensors | Android device tasks |
coding_agent | Python/JavaScript execution | Code computation |
web_agent | Web scraping, HTTP requests | Internet data |
task_agent | Scheduling, timers, cron | Time-based tasks |
social_agent | WhatsApp, messaging | Communication |
travel_agent | Maps, locations, directions | Travel planning |
Without Progressive Discovery (wasteful):
Load ALL tools (calculator, web_search, whatsapp, android, maps, code, ...)
Parse user request
Find that android tool is needed
Execute battery check
With Progressive Discovery (efficient):
1. IDENTIFY: This needs Android device access
2. CHECK: Is android_agent or battery tool connected?
3. YES → Delegate: "Check battery level"
4. RETURN: Battery at 75%, charging
Discovery Process:
1. IDENTIFY: This is a mathematical calculation
2. CHECK: Do I have python_code or calculator tool?
IF python_code connected:
Use Code Mode for complex calculation
ELIF calculator connected:
Use calculator for simple operations
ELSE:
Report: "I need a code executor or calculator to compute this"
Discovery Process:
1. IDENTIFY: Needs location + messaging
2. CHECK: What's connected?
Step A - Get location:
IF location tool connected → Use directly
ELIF android_agent connected → Delegate location request
ELSE → Ask user for location
Step B - Send message:
IF whatsapp_send connected → Use directly
ELIF social_agent connected → Delegate message
ELSE → Report: "WhatsApp not available"
When delegating to a specialized agent:
{
"task": "Specific task description",
"context": "Relevant context only (not everything)"
}
Good Context (focused):
{
"task": "Get current GPS coordinates",
"context": "User needs their location for a WhatsApp message"
}
Bad Context (bloated):
{
"task": "Get current GPS coordinates",
"context": "Full conversation history... user preferences... all previous results... system info..."
}
Before attempting an action, verify the capability exists:
IF task requires capability X:
IF direct_tool_for_X is connected:
→ Use tool directly (fastest)
ELIF specialized_agent_for_X is connected:
→ Delegate to agent (handles complexity)
ELSE:
→ Report: "This capability is not available"
→ Suggest: "Connect [tool/agent name] to enable this"
❌ "Let me check all my tools: calculator, web_search, whatsapp,
android, maps, code, http, scheduler, memory..."
✓ "To answer this, I need [specific capability]"
❌ Immediately delegate to android_agent without checking if connected
✓ Check connected tools first, then delegate if available
❌ "I have access to many tools including... [lists everything]"
✓ "I can help with that. Let me [specific action]."
❌ Delegate "calculate 2+2" to coding_agent
✓ Simple math can be done directly or with calculator tool
Progressive Discovery works with the Agentic Loop pattern:
OBSERVE: What does the user need?
↓
THINK: What capability is required?
↓
DISCOVER: Is that capability connected?
↓
ACT: Use tool directly OR delegate to agent
↓
REFLECT: Did it work?
↓
DECIDE: Complete or discover next capability