Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

bloodhound-scout猎犬侦察兵

Agent Skill

bloodhound-scout 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,544

周安装

65

GitHub Stars

4

下载量

541
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bloodhound-scout(猎犬侦察兵)
来源仓库:https://github.com/autumnsgrove/groveengine
仓库路径:skills/bloodhound-scout
安装命令:
npx skills add https://github.com/autumnsgrove/groveengine --skill bloodhound-scout
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/autumnsgrove/groveengine --skill bloodhound-scout

简介

用于查找、检索和筛选相关信息,适合在代码探索与依赖追踪任务中快速定位目标元素。

  • 像猎犬追踪气味般遍历导入关系、模块边界与深层代码角落,绘制可跟随的轨迹图。
  • 当需要理解某功能如何工作时,自动启动跟踪机制并生成结构化映射报告。
  • 安装前建议限制搜索范围至当前仓库,避免大规模扫描拖慢整体响应速度。
  • bloodhound-scout 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Bloodhound Scout 🐕

The bloodhound doesn't wander aimlessly. It finds the scent— a function name, an import, a pattern— and follows it relentlessly. Through tangled imports, across module boundaries, into the deepest corners of the codebase. The bloodhound maps what it finds, creating trails others can follow. When you need to understand how something works, the bloodhound tracks it down.

When to Activate

  • User asks to "find where X is used" or "understand how Y works"
  • User says "explore this codebase" or "map this system"
  • User calls /bloodhound-scout or mentions bloodhound/tracking
  • Joining a new project (learning the territory)
  • Tracing bugs through multiple files
  • Finding all instances of a pattern
  • Understanding dependencies and connections
  • Preparing to refactor (know the territory first)

Pair with: elephant-build for implementing after exploration, panther-strike for fixing found issues


The Hunt

SCENT → TRACK → HUNT → REPORT → RETURN
   ↓       ↓       ↓        ↓         ↓
Pick Up  Follow  Deep     Map the   Share
Scent    Trail   Dive     Territory Knowledge

Phase 1: SCENT

*The nose twitches. Something's been here...*

Establish what we're tracking:

The Starting Point: What scent do we have?

  • Function namegetUserById, validateToken
  • ComponentUserProfile, PaymentForm
  • Pattern — error handling, API calls, state management
  • Concept — authentication flow, data fetching
  • File — Where does utils/helpers.ts get used?

Search Strategy Selection:

Grove Find (gf) is the bloodhound's primary nose -- fast, agent-friendly, purpose-built:

# PRIMARY — Grove Find (the bloodhound's best tools)
gf --agent search "functionName"   # Pick up the scent across the codebase
gf --agent func "getUserById"      # Track down a function's definition
gf --agent usage "UserProfile"     # Follow every trail this name leaves
gf --agent class "PaymentService"  # Find where a class/component lives
gf --agent impact "src/lib/auth.ts" # What trembles when this file changes?

# Git context — orient before tracking
gw context                         # Where are we? Branch, recent changes, state

# FALLBACK — when the scent needs a finer grain
grep -r "useState.*user" src/ --include="*.tsx"
glob "**/*.svelte"  # Just Svelte components
glob "**/api/**/*.ts"  # Just API routes

Scope Definition:

  • Deep dive — Trace every call, follow every import
  • Surface scan — Find main entry points, understand boundaries
  • Pattern search — Find all instances of a specific technique

Output: Clear tracking target and search strategy defined


Phase 2: TRACK

*Paws pad softly, following the trail as it winds through the underbrush...*

Follow connections systematically:

Import Tracing:

// Found: Component imports UserService
import { getUserById } from '$lib/services/user';

// Track to: UserService implementation
// File: src/lib/services/user.ts
export async function getUserById(id: string) {
  return db.query('SELECT * FROM users WHERE id = ?', [id]);
}

// Track to: Database layer
// File: src/lib/db/connection.ts
export const db = createPool({...});

Call Graph Mapping:

UserProfile.svelte
    ↓ calls
getUserById(id)
    ↓ calls
db.query(sql, params)
    ↓ calls
mysql.execute()

Reference Finding:

# Grove Find — the bloodhound's fastest nose
gf --agent usage "getUserById"      # Who calls this function?
gf --agent impact "src/lib/user.ts" # What depends on this file?
gf --agent search "UserProfile"     # Where is this type used?

# Finer-grained tracking (fallback)
grep -r "from.*user" src/ --include="*.ts" -l

Pattern Recognition: As you track, notice patterns:

  • "Every API route uses this middleware"
  • "Error handling is inconsistent between modules"
  • "This pattern repeats in 5 different files"

Output: Traced connections with call graphs and file relationships


Phase 3: HUNT

*The trail goes cold, but the bloodhound circles, finding it again in unexpected places...*

Deep dive into the most important findings:

Code Archaeology:

# When was this file last changed?
git log -p src/lib/auth.ts | head -100

# Who wrote this critical function?
git blame src/lib/auth.ts | grep "verifyToken"

# What did it look like before?
git show HEAD~5:src/lib/auth.ts | grep -A 10 "verifyToken"

Cross-Reference Analysis:

// Find: Authentication is checked in 3 different ways

// Method 1: Middleware
app.use('/api', authMiddleware);

// Method 2: Decorator
@requireAuth
async function sensitiveOperation() {}

// Method 3: Inline check
if (!user.isAuthenticated) {
  throw new UnauthorizedError();
}

// INSIGHT: Inconsistent auth patterns suggest gradual migration
// Recommendation: Standardize on middleware approach

Edge Case Hunting: Look for:

  • Error paths (often neglected)
  • Race conditions
  • Unhandled promise rejections
  • Type coercion (any types, as assertions)
  • Magic numbers and strings

Type Safety Patterns to Track:

  • Unsafe type casts (as any, as SomeType) at trust boundaries
  • Bare JSON.parse() without safeJsonParse() validation
  • Raw formData.get() without parseFormData() schema
  • Catch blocks without isRedirect()/isHttpError() type guards
  • Server SDK bypass: raw env.DB/env.STORAGE instead of GroveDatabase/GroveStorage

Dependency Mapping:

┌──────────────────────────────────────────────────────────────┐
│                    DEPENDENCY WEB                            │
├──────────────────────────────────────────────────────────────┤
│                                                              │
│   UserService ◄──────► AuthService                          │
│        │                    │                               │
│        ▼                    ▼                               │
│   Database ◄────┬─────► Cache                              │
│                 │                                           │
│                 ▼                                           │
│            EmailService                                     │
│                                                              │
└──────────────────────────────────────────────────────────────┘

Output: Deep analysis of critical paths, patterns, and potential issues


Phase 4: REPORT

*The bloodhound returns, dropping a map at the hunter's feet...*

Document findings for others (and your future self):

The Territory Map:

## 🐕 BLOODHOUND SCOUT REPORT

### Target: User Authentication Flow

#### Entry Points

1. `src/routes/login/+page.svelte` — Login form
2. `src/routes/api/auth/login/+server.ts` — API endpoint
3. `src/lib/components/LoginForm.svelte` — Reusable component

#### Core Trail

LoginForm.svelte ↓ submit +page.svelte#handleSubmit ↓ POST /api/auth/login +server.ts ↓ validateCredentials auth.service.ts ↓ verifyPassword password.utils.ts ↓ bcrypt.compare

#### Key Files
| File | Purpose | Complexity |
|------|---------|------------|
| auth.service.ts | Main auth logic | Medium |
| password.utils.ts | Encryption | Low |
| session.store.ts | State management | High |
| middleware.ts | Route protection | Medium |

#### Patterns Found
- ✅ Consistent error handling in API layer
- ⚠️  Session timeout logic duplicated in 2 places
- ❌ No rate limiting on login attempts

#### Connections
- UserService calls AuthService for verification
- AuthService publishes events to EventBus
- Session data stored in Redis

Quick Reference Card:

### When working with auth:

- Check middleware: `src/lib/middleware.ts`
- Service layer: `src/lib/services/auth.ts`
- Types: `src/lib/types/auth.ts`
- Tests: `tests/auth.test.ts`

Output: Comprehensive report with maps, patterns, and recommendations


Phase 5: RETURN

*The hunt is complete. The knowledge stays, ready for the next tracker...*

Prepare for handoff:

Knowledge Transfer:

## Summary for Next Developer

### The Big Picture

[2-3 sentences explaining the system's purpose and architecture]

### Where to Start

- New feature? → Look at `src/lib/services/`
- Bug fix? → Check `src/lib/errors/` first
- UI change? → Components in `src/lib/components/`

### Gotchas

- Database migrations run automatically in dev, manually in prod
- Auth tokens expire in 15 minutes, refresh tokens in 7 days
- Don't import from `src/lib/server/` in client code

### Useful Commands

Run just the auth tests

npm test auth

Reset database

npm run db:reset

See API documentation

npm run docs:api

**Bookmark Creation:**
Create quick access points:
- `docs/exploration/auth-flow.md` — This scout report
- Comments in key files: `// BLOODHOUND: Entry point for user operations`
- Issue labels: `area:auth`, `complexity:high`

**Next Steps:**

Recommended Actions

  1. [ ] Consolidate session timeout logic (found in 2 places)
  2. [ ] Add rate limiting to login endpoint
  3. [ ] Document the event bus pattern for auth events
  4. [ ] Write integration tests for token refresh flow

**Output:** Team-ready documentation with actionable next steps

---

## Bloodhound Rules

### Persistence

Never lose the scent. If the trail goes cold, circle back. Check imports, exports, configuration files. The code is there—keep hunting.

### Method

Track systematically. Don't jump around randomly. Follow the call graph, document as you go, build the map piece by piece.

### Detail

Notice the small things. That inconsistent error message, the commented-out code, the TODO from six months ago. These are signposts.

### Communication

Use tracking metaphors:

- "Picking up the scent..." (starting the search)
- "Following the trail..." (tracing connections)
- "The hunt goes deep..." (deep dive analysis)
- "Dropping the map..." (documenting findings)

---

## Anti-Patterns

**The bloodhound does NOT:**

- Guess without verifying ("it's probably in utils/")
- Stop at the first occurrence (find ALL the trails)
- Assume code does what comments say (trust the code, not comments)
- Forget to document (the hunt is wasted if knowledge dies)
- Get distracted by side trails (stay focused on the target scent)

---

## Example Scout

**User:** "How does the payment system work?"

**Bloodhound flow:**

1. 🐕 **SCENT** — "Starting with 'payment' keyword, searching for components, services, API routes"
2. 🐕 **TRACK** — "Found PaymentForm component → calls paymentService → uses Stripe SDK → webhooks in +server.ts"
3. 🐕 **HUNT** — "Deep dive: error handling, idempotency keys, webhook signature verification, retry logic"
4. 🐕 **REPORT** — "Complete flow map, 7 files involved, 2 inconsistent patterns found, 1 security recommendation"
5. 🐕 **RETURN** — "Documentation in docs/payments/, bookmarked key files, suggested 3 improvements"

---

## Quick Decision Guide

| Situation | Approach |
| --- | --- |
| Bug in production | Track from error location backwards to root cause |
| Adding feature | Find similar features, follow their pattern |
| Refactoring | Map all dependencies, identify safe change boundaries |
| Code review prep | Scout changed files, understand context |
| New team member | Territory map of entire codebase, entry points |
| Performance issue | Hunt for hot paths, trace execution flow |

---

## Integration with Other Skills

**Before Scouting:**

- `eagle-architect` — If you need to understand high-level design first

**During Scouting:**

- `raccoon-audit` — If you find security issues while tracking
- `beaver-build` — To understand testing patterns

**After Scouting:**

- `panther-strike` — To fix specific issues found
- `elephant-build` — To implement changes across mapped territory
- `swan-design` — To document architectural decisions

---

*Every codebase is a forest. The bloodhound knows how to navigate.* 🐕

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.65%
按下载量换算198

Claude

30.41%
按下载量换算165

Cursor

20.45%
按下载量换算111

Gemini CLI

9.49%
按下载量换算51

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills