agentleFS
synaptiaisynaptiai/agent-capability-standard/skills/discover/SKILL.md

discover

Skill6 starsChanged 14 days agoApache-2.0View on GitHub

Find latent patterns, relationships, anomalies, or insights not explicitly specified. Use when exploring unknown structure, finding hidden connections, or uncovering emergent phenomena.

57 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • skyllwtSkill

    exp-pilot-eval

    Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.

    Also in 4 projects that use this

  • skyllwtSkill

    exp-pilot-run

    Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.

    Also in 4 projects that use this

  • phanghonghaoSkill

    poster

    HTML/CSS A4 海报生成。从沙龙/活动 Markdown 文件生成科技风 A4 海报 PDF/PNG。Use when user mentions: poster, 海报, 海报生成, make poster, generate poster, 活动海报, 沙龙海报.

    Also in 4 projects that use this

  • +6 more from Lambenthan
  • +1 more from skyllwt

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Apply discovery heuristics: Use exploration strategies systematically

    line 42
  2. Distinctive:

    Pattern mining: Look for recurring structures, naming conventions, code patterns

    line 43
  3. Distinctive:

    Verification tools: Read (to verify locations), Grep (to confirm patterns exist)

    line 236
  4. Distinctive:

    Do not modify any files during discovery

    line 246
  5. Very specific:

    Never use discover for known-item retrieval (use search)

    line 265
  6. Very specific:

    Avoid discover for existence checking (use detect)

    line 266
  7. Distinctive:

    Do not use discover when you already know what to find

    line 267

“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “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

Intent

Explore data or systems to find patterns, relationships, or anomalies that were not explicitly requested or expected. Discovery is open-ended exploration that surfaces novel insights rather than confirming hypotheses.

Success criteria:

  • At least one non-obvious finding surfaced
  • Significance level assigned to each discovery
  • Novelty classified (known, suspected, surprising)
  • Methodology documented for reproducibility

Compatible schemas:

  • schemas/output_schema.yaml

Inputs

ParameterRequiredTypeDescription
dataYesanyData to explore
constraintsNoobjectBounds on exploration (time, scope, depth)
methodNostringDiscovery approach

Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).

Procedure

  1. Define search space boundaries: Establish what is in and out of scope
    • File patterns, directories, or data sources
    • Conceptual boundaries (domain, time range)
    • Depth limits (how many hops of relationships)
  2. Apply discovery heuristics: Use exploration strategies systematically
    • Pattern mining: Look for recurring structures, naming conventions, code patterns
    • Relationship mapping: Find connections between entities (imports, calls, references)
    • Anomaly detection: Identify outliers, inconsistencies, unusual structures
    • Gap analysis: Find missing elements, broken links, incomplete patterns
  3. Assess significance: Evaluate each finding's importance
    • High: Directly actionable or explains important behavior
    • Medium: Useful context or potential issue
    • Low: Interesting but not actionable
  4. Classify novelty: Determine how surprising each discovery is
    • Known: Documented or widely understood
    • Suspected: Hypothesized but not confirmed
    • Surprising: Unexpected or counter to assumptions
  5. Identify entities involved: Link discoveries to specific entities
    • Files, functions, classes, modules
    • People, teams, systems
    • Concepts, patterns, architectures
  6. Ground claims: Attach evidence anchors to all discoveries
    • Exact locations where patterns occur
    • References to related documentation
  7. Synthesize findings: Connect individual discoveries into coherent insights

Output Contract

Return a structured object:

patterns:  # Discovered patterns (also gaps and opportunities)
  - type: pattern | gap | opportunity
    description: string  # What was discovered
    significance: low | medium | high
    novelty: known | suspected | surprising
    entities_involved: array[string]
    location: string  # Where found (file:line, path, or reference)
relationships:  # Found relationships between entities (same item shape, without type)
  - description: string
    significance: low | medium | high
    novelty: known | suspected | surprising
    entities_involved: array[string]
    location: string
anomalies:  # Unusual findings (same item shape, without type)
  - description: string
    significance: low | medium | high
    novelty: known | suspected | surprising
    entities_involved: array[string]
    location: string
methodology: string  # How discovery was conducted
search_space: string  # What was explored
confidence: number  # 0.0-1.0 confidence in discoveries
evidence_anchors: array[string]  # References to supporting evidence
assumptions: array[string]  # Conditions that affect findings

Field Definitions

FieldTypeDescription
patternsarray<object>Discovered patterns, gaps and opportunities (empty when none)
patterns[].typeenumpattern, gap or opportunity
relationshipsarray<object>Connections found between entities
anomaliesarray<object>Outliers, inconsistencies, unusual structures
*[].significanceenumImportance level (every discovery)
*[].noveltyenumHow unexpected the finding is (every discovery)
methodologystringExploration approach used
search_spacestringScope of exploration
confidencenumber0.0-1.0 overall discovery confidence
evidence_anchorsarray[string]References to evidence
assumptionsarray[string]Conditions that could change findings

Examples

Example 1: Discover Hidden Dependencies

Input:

data: "src/"
method: "relationship"
constraints:
  max_depth: 3
  focus: "imports and function calls"

Output:

patterns:
  - type: "pattern"
    description: "All repository classes follow identical initialization pattern with DI container lookup"
    significance: medium
    novelty: known
    entities_involved:
      - "src/repositories/*.ts"
    location: "src/repositories/"
  - type: "gap"
    description: "No unit tests for critical OrderValidation module"
    significance: high
    novelty: surprising
    entities_involved:
      - "src/validation/OrderValidation.ts"
    location: "tests/ - no corresponding test file"
relationships:
  - description: "Circular dependency between UserService and AuthService"
    significance: high
    novelty: surprising
    entities_involved:
      - "src/services/UserService.ts"
      - "src/services/AuthService.ts"
    location: "src/services/UserService.ts:12 imports AuthService; src/services/AuthService.ts:8 imports UserService"
anomalies:
  - description: "PaymentService bypasses standard error handling pattern used by all other services"
    significance: high
    novelty: suspected
    entities_involved:
      - "src/services/PaymentService.ts"
    location: "src/services/PaymentService.ts:45-78"
methodology: "Static analysis of import statements, grep for class instantiation patterns, comparison against test file naming conventions"
search_space: "src/ directory (156 TypeScript files)"
confidence: 0.85
evidence_anchors:
  - "src/services/UserService.ts:12"
  - "src/services/AuthService.ts:8"
  - "src/services/PaymentService.ts:45"
  - "tests/:directory-listing"
assumptions:
  - "Standard TypeScript import resolution"
  - "Test files follow *Spec.ts or *.test.ts convention"
  - "All production code is in src/"

Evidence pattern: Grep for import statements, build dependency graph, compare patterns across files.


Example 2: Discover Architecture Patterns

Input:

data: "entire codebase"
method: "pattern"

Seed observation: some endpoints seem to share similar structure.

Output:

patterns:
  - type: "pattern"
    description: "Three distinct architectural styles coexist: MVC in /admin, DDD in /core, and script-style in /legacy"
    significance: high
    novelty: suspected
    entities_involved:
      - "/admin/*"
      - "/core/*"
      - "/legacy/*"
    location: "Repository-wide directory structure"
  - type: "opportunity"
    description: "MVC controllers in /admin could be consolidated - 12 controllers have nearly identical CRUD patterns"
    significance: medium
    novelty: known
    entities_involved:
      - "/admin/controllers/*.ts"
    location: "/admin/controllers/"
relationships:
  - description: "DDD bounded contexts in /core share a common anti-corruption layer for legacy integration"
    significance: medium
    novelty: surprising
    entities_involved:
      - "/core/adapters/legacy/"
    location: "/core/adapters/legacy/*.ts"
anomalies: []
methodology: "Directory structure analysis, pattern matching on file organization, code similarity detection"
search_space: "Full repository (312 files, 4 top-level directories)"
confidence: 0.75
evidence_anchors:
  - "/admin/controllers/:pattern-sample"
  - "/core/domain/:ddd-structure"
  - "/core/adapters/legacy/LegacyAdapter.ts:1-50"
assumptions:
  - "Directory structure reflects intentional architecture"
  - "Pattern differences are deliberate, not accidental"

Verification

  • Each discovery is filed under patterns, relationships or anomalies, with significance and novelty classified
  • At least one discovery has evidence_anchors
  • Methodology is documented and reproducible
  • Search space boundaries are clearly defined
  • Surprising discoveries are supported by multiple evidence points

Verification tools: Read (to verify locations), Grep (to confirm patterns exist)

Safety Constraints

  • mutation: false
  • requires_checkpoint: false
  • requires_approval: false
  • risk: low

Capability-specific rules:

  • Do not modify any files during discovery
  • Respect scope boundaries - do not explore outside the bounds set by data and constraints
  • Flag discoveries that may reveal sensitive information
  • Report uncertainty when findings could be coincidental

Composition Patterns

Commonly follows:

  • inspect - Discovery often follows initial system observation
  • search - Discovery extends search results
  • identify - Discovery finds relationships between identified entities

Commonly precedes:

  • identify - Discovered entities may need identification
  • estimate - Discovered patterns may need quantification
  • compare - Discovered options may need comparison
  • plan - Discoveries may trigger action planning

Anti-patterns:

  • Never use discover for known-item retrieval (use search)
  • Avoid discover for existence checking (use detect)
  • Do not use discover when you already know what to find

Workflow references:

  • See reference/composition_patterns.md#capability-gap-analysis for discover-relationship usage
  • See reference/composition_patterns.md#world-model-build for discovery in modeling

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.