Index of every page on this site: llms.txt
All skills
boshu2 avatar

/research

@596942d
by Boboshu2/agentops460 stars
44
Run it yourself

Answer one cited question on code, history, claims or patterns. Use when: asked how it works, why it changed, if a claim or done/shipped report holds, or a pattern warrants a rule.

Use this Skill: https://skilld.dev/gh/boshu2/agentops/research

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescodebase-reconpack-contract.md

≈843 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Codebase-recon pack contract

Applies only when a durable codebase-recon.v1 pack is selected. An inline investigation may use dirty working-tree evidence with explicit limits; this commit-bound pack may not. <skill-dir> is defined in SKILL.md.

A baseline codebase-recon.json has this shape (<...> is a value to fill):

{
  "schema_version": "codebase-recon.v1",
  "mode": "baseline",
  "commit": "<full commit OID>",
  "flows": [{"entry": "<file>", "domain": "<path>", "integration": "<path>", "tests": "<file>"}],
  "claims": [{"kind": "fact", "text": "<claim>", "confidence": "high", "evidence": ["<file>:<line>"]}],
  "coverage": {"inspected": ["<path>"], "uninspected": ["<path>"]},
  "report": {"path": "codebase-recon.md", "sha256": "<lowercase SHA-256 of the companion>"}
}

kind is fact, inference or unknown; confidence is high, medium or low; both coverage lists are non-empty. A delta manifest sets mode: "delta" and adds prior_recon (the prior manifest's path), baseline_verified: true and delta, one {"path": ..., "change": ...} entry per changed path; its flows may be empty.

  • Save codebase-recon.json and a cited codebase-recon.md companion by Research's save rule, outside the target repository or under its .agents/ (a new file elsewhere in it is dirty source; .agents/scratch/ is disposable). Keep mental model, bounded audit, pattern evidence and synthesis distinct.
  • Bind the exact current full commit OID (not HEAD or a short SHA), at least one complete baseline flow, typed claims and inspected/uninspected scope. Fact and inference citations, and each flow's entry and tests, resolve to repository-relative regular files at that commit (an optional :<line> must exist in that blob); domain and integration may be directories. The companion report includes line references. Unknowns remain explicit and may cite evidence: [].
  • The manifest report names the companion and its lowercase SHA-256. The companion has one <!-- codebase-recon-report.v1 --> marker and manifest_commit, manifest_mode, flows_sha256, claims_sha256, and coverage_sha256 markers; section digests hash the jq -cS output for each section, including its trailing newline.
  • Discover validated priors with bash "<skill-dir>/scripts/codebase-recon/validate-output.sh" --repo-root <target> --discover-priors; it scans only .agents/recon/ and .agents/scratch/codebase-recon/, so cite a prior saved elsewhere by its path in prior_recon. Prefer a verified delta when it answers the request. Delta evidence needs a valid ancestor chain, baseline_verified: true and the exact changed paths between the prior and current commits; do not relabel a directory scan as delta.
  • Run bash "<skill-dir>/scripts/codebase-recon/validate-output.sh" --repo-root <target> <recon.json> before handoff. It checks both artifacts and rechecks their identities, HEAD and source state; dirty source outside .agents/ cannot satisfy this commit-bound pack. Return a validation failure without disguising it as a completed recon pack.

Preserve earlier packs and their exact cited identities; never move or delete old proof to match a new layout. See the recon scenarios.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning11d5 checks · Risk SAFE
  • Gen Agent Trust Hub11d

    The research skill provides a framework for evidence-based codebase investigation and claim auditing. It incorporates strong security practices, including mandatory data sanitization before external lookups and strict verification of code claims against git history. No malicious patterns or vulnerabilities were detected.

  • Socket13d

    No alerts

  • Snyk11d

    Risk: LOW · No issues

  • Runlayer8mo

    5/13 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 596942d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 2 weeks ago
hexagonal_role
driving-adapter
consumes
[
  "research-question",
  "native-source-evidence"
]
context_rel
[
  {
    "kind": "supplier-to",
    "with": "plan"
  }
]
Other metadata
practices
[
  "pragmatic-programmer",
  "ddd-bounded-context",
  "evidence-based-engineering"
]
produces
[
  "research-report",
  "codebase-recon.v1",
  "pattern-mining.v1",
  "reality-check-report.v1",
  "goal-measurement-report",
  "native-status-snapshot"
]
skill_api_version
1
user-invocable
true
metadata
{
  "capabilities": [
    "research",
    "codebase_recon",
    "pattern_mining",
    "compare_claim_to_evidence",
    "measure_declared_goals",
    "report_native_status"
  ],
  "effects": [
    "write_research_report",
    "write_recon_pack",
    "write_pattern_evidence",
    "write_advisory_gap_report",
    "write_goal_snapshot",
    "write_requested_rendered_spec"
  ],
  "canonical_status": "canonical",
  "disposition": "keep_specialist",
  "tier": "execution",
  "dependencies": [],
  "triggers": [
    "holds up",
    "really done"
  ]
}
output_contract
cited answer; findings.json for ordinary durable reports; validated codebase-recon.v1, pattern-mining.v1 or reality-check-report.v1 for selected evidence modes; per-item claim ledger with no verdict

README badge

README badge for boshu2/agentops/research