Scout

From huytieu/COG-second-brain · View interactive version

Scout is an AI agent skill from the GitHub repository huytieu/COG-second-brain. Evaluate URLs and tools — check vault coverage, assess relevance, recommend save or skip

How to use this skill

Skill file

COG Scout Skill

Purpose

Lightweight URL/tool triage that sits between "ignore" and /url-dump. Evaluates whether a URL or tool is worth saving or skipping — checking existing vault coverage, assessing relevance to the user's profile and interests, and recommending a clear next action.

When to Invoke

Agent Mode Awareness

Check agent_mode in 00-inbox/MY-PROFILE.md frontmatter:

Pre-Flight Check

Before executing, check for user profile:

  1. Look for 00-inbox/MY-PROFILE.md and 00-inbox/MY-INTERESTS.md in the vault
  2. If NOT found:

```

Welcome to COG! Scout works best with a profile for relevance matching.

Would you like to run /onboarding first, or should I evaluate with general criteria?

```

  1. If found:

Boundary with `/url-dump`

Scout evaluates ("should I save this?"). URL-dump saves ("save this now").

Process Flow

1. Accept Input

Accept one or more of:

Prompt (if no input provided):

What URL(s) or tool(s) would you like me to evaluate?
(You can paste URLs, tool names, or a mix)

Batch mode: Multiple URLs/names in one invocation are processed together with a summary table at the end.

2. Vault Coverage Check

For each URL or tool name, search the entire vault for existing coverage.

Search strategy:

If found:

🔍 Existing coverage found for [name]:
- [file path] — saved [date], category: [category]
- [file path] — mentioned in [context]

Want me to check if an update is needed, or skip this one?

3. Content Fetch & Analysis

If URL provided and web-fetch is active:

If tool name provided (no URL):

Content type detection:

4. Relevance Assessment

Score relevance against user context:

Profile Match (from MY-PROFILE.md):

Interest Match (from MY-INTERESTS.md):

Quality Signals:

5. Recommendation

Based on analysis, recommend one of two actions:

**Save** — Worth adding to the knowledge base
✅ SAVE — [Title/Name]
Category: [suggested category for url-dump]
Relevance: [High/Medium] — [why it matters]
Projects: [affected project(s) if any]

Shall I hand off to /url-dump to save it?
**Skip** — Not relevant or not worth the time
⏭️ SKIP — [Title/Name]
Reason: [clear explanation — wrong stack, low quality, already covered, irrelevant to interests]

6. Batch Summary (for multiple items)

When processing multiple URLs/tools, end with a summary table:

## Scout Summary

| # | Item | Verdict | Reason |
|---|------|---------|--------|
| 1 | [Name 1] | ✅ Save | [brief reason] |
| 2 | [Name 2] | ⏭️ Skip | [brief reason] |

**Actions:**
- [X] items ready to save via /url-dump

7. Execute Follow-up Actions

Based on user confirmation:

Fallback Behavior

| Scenario | Behavior |

|----------|----------|

| web-fetch unavailable | Evaluate based on URL structure, domain reputation, and vault search only. Note that content wasn't fetched. |

| web-search unavailable | For tool-name inputs (no URL), ask the user for a direct URL instead. For URL inputs, proceed normally — web-search is not needed. |

| No user profile | Evaluate with general quality/relevance criteria, skip personalized relevance scoring |

| URL is paywalled | Note limitation, evaluate based on available preview and metadata |

| Tool not found via search | Ask user for more context or a direct URL |

Uncertainty Handling

Integration with Other Skills

Downstream

Upstream

Success Metrics

Philosophy

Scout embodies COG's "evaluate before you accumulate" principle:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.