eval
Skill9 starsChanged 41 days agoMITView on GitHub
Quantitatively evaluate the search quality and efficiency of the Rill knowledge base via natural exploration vs Deep Path ground truth (ADR-050). Run monthly. Computes precision, recall, metadata_contribution, token cost. Use when the user wants to verify whether note structure actually works in practice.
44 other projects use a version of this.
Adopted by
Most recently taken up by
- Integralist/agent-skillstheir own version, first seen Nov 26, 2026
- Kanevry/session-orchestratortheir own version, first seen Nov 24, 2026
- ariadoss/superskillstheir own version, first seen Nov 23, 2026
- link7373/agentic-bi-teamtheir own version, first seen Nov 15, 2026
- relai-ai/agent-eval-looptheir own version, first seen Nov 15, 2026
- jisuzzzz/haechitheir own version, first seen Nov 8, 2026
Used with
Projects with it also use docs-ci, docs-interfaces 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.
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
open-coder-aiSkillpolicy-init
Create conformant Chock policy from request. args(request, target_path,
Also in 3 projects that use this
RachaelQuiselSkillclient-docs
Client documentation. Use when a build needs documentation updates or missing project documents need to be identified.
Also in 3 projects that use this
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 3 projects that use this
TheKREATORSSkillinstinct-import
Import instincts from file or URL into project/global scope
Also in 3 projects that use this
- +4 more from jh941213
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- PrimeIntellect-ai/prime-rl★ 2.3ksame name
- rohanpsingh/LearningHumanoidWalking★ 1.2ksame name
- mikeyobrien/rho★ 372same name
- ai-analyst-lab/ai-analyst★ 304same name
- jh941213/ADLC-harness★ 125same name
- jh941213/my-cc-harness★ 125same name
- jh941213/my-claude-code-asset★ 125same name
- qtzx06/yolodex★ 96same name
- relai-ai/agent-eval-loop★ 75same name
- Kastalien-Research/thoughtbox★ 64same name
34 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- inbox/CLAUDE.mdCLAUDE.md
- pages/CLAUDE.mdCLAUDE.md
- projects/CLAUDE.mdCLAUDE.md
- tasks/CLAUDE.mdCLAUDE.md
- workspace/CLAUDE.mdCLAUDE.md
- briefingSkill
- clip-tweetSkill
- closeSkill
- distillSkill
- focusSkill
- inspectSkill
- maintainSkill
- morningSkill
- newsletterSkill
- onboardingSkill
- pageSkill
- pluginSkill
- projectSkill
- pulseSkill
- refresh-decisionsSkill
- refresh-projectSkill
- repairSkill
- retrospectiveSkill
- solveSkill
- syncSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 4 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 35 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
No arguments — Auto-detect the latest Deep Path.
- Very specific: line 36
If --refresh-deep is specified -> go to Phase 1a (full regeneration)
- Very specific: line 37
If --reuse-deep YYYY-MM-DD is specified -> Read and load the corresponding file
- Distinctive: line 103
Add notes determined to be relevant to the existing ground truth set
- Very specific: line 188
Write aggregate metrics to the search section of eval/metrics/YYYY-MM-DD.yaml:
- Very specific: line 201
If eval/metrics/YYYY-MM-DD.yaml already exists (i.e., /inspect was run the same day), preserve the static section and only add the search …
- Very specific: line 204
If --baseline flag is present, also copy to eval/baseline.yaml
- Very specific: line 242
When --compare YYYY-MM-DD is used, add a diff section:
- Very specific: line 260
Create the file with rill mkfile (to ensure timestamp accuracy):
- Distinctive: line 273
If a previous comparison exists, note the direction of change
- Very specific: line 293
Do not recommend strengthening the related field (inconsistent with the Search-First paradigm.
- Distinctive: line 304
Compare against ideal model: If any queries achieve Precision 1.0 / Recall 1.0, extract those conditions and examine applicability to other …
“Common” is measured: kept by at least 6 in 10 of the 35 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.
Files
/eval — Exploration Benchmark (monthly. Verify that note structure actually works in practice)
Conduct all conversation with the user — and write all generated output — in the language defined by .claude/rules/personal-language.md (or the user's input language if that file is absent). Follow the language rules in full — exceptions and translation quality are defined in the Language Rules of .claude/rules/rill-core.md and the vault's personal-*.md overrides, never restated per skill. The English instructions below are for skill clarity, not for output style.
Tool references in this skill (
sub-agent,shell,Read,Edit,Glob,Grep) describe intent, not Claude-specific tool calls. Each harness should map them to its native equivalent — Claude Code uses its built-in Agent / Bash / Read / Edit tools as named; Codex CLI uses CSV fan-out / shell /apply_patchetc. as appropriate.
Workflow:
/inspect->/repair->/eval(inspect -> repair -> verify)
Quantitatively evaluate the search quality and efficiency of the knowledge base through the AI agent's natural exploration (ADR-050). See eval/concept.md for metric definitions.
Arguments
$ARGUMENTS — Optional. Can be combined.
--reuse-deep YYYY-MM-DD— Reuse Deep Path results from the specified date (eval/results/YYYY-MM-DD-deep.yaml)--refresh-deep— Force regeneration of Deep Path for all queries (high cost)--baseline— Also copy results toeval/baseline.yaml--compare YYYY-MM-DD— Compare with results from the specified date and report differences- No arguments — Auto-detect the latest Deep Path. Incrementally update if new notes exist
Concept
Generate the ground truth set with Deep Path (unconstrained exhaustive exploration), then process the same queries with the AI agent's natural exploration. If the discovery rate via metadata (metadata_contribution) is high, it proves that note structuring is effective.
While /inspect's structural reachability check (Phase 1.8) deterministically measures "whether metadata paths exist," /eval empirically measures "whether the AI agent can actually reach them."
Procedure
Phase 1: Deep Path Preparation
- If
--refresh-deepis specified -> go to Phase 1a (full regeneration) - If
--reuse-deep YYYY-MM-DDis specified -> Read and load the corresponding file - If no arguments:
a. Search
eval/results/for the latest*-deep.yamlusing Glob b. If found, detect new notes since that date withgit diff --name-only {date}..HEAD -- knowledge/notes/c. If 0 new notes -> load as-is d. If new notes exist -> go to Phase 1b (incremental update) e. If no Deep Path results found -> go to Phase 1a (full regeneration)
Phase 1a: Deep Path Full Regeneration
Launch the Deep Path sub-agent for all 20 queries in eval/queries.yaml. Execute in parallel batches of 5.
Sub-agent prompt:
You are an exhaustive exploration agent for a Rill PKM.
Thoroughly explore for files related to the following queries, without concern for cost.
## Exploration Rules (relaxed constraints)
1. Freely explore the entire repository. No directory restrictions
2. Grep with multiple keywords, synonyms, and related terms (no limit on number of searches)
3. Read discovered files and follow leads from in-body links and source references (no need to follow frontmatter related: fields)
4. No Read limit. Read everything you judge to be relevant
## Ground Truth Target Files
Only include the following files in the ground truth set. Do not include other files even if discovered.
- knowledge/notes/ — Atomic knowledge (core eval target)
- knowledge/people/, orgs/, projects/ — Entity files
- knowledge/self/profile.md — Core Identity
- knowledge/self/interests.md — Interests (Deep / Curiosity / Obligations / Career)
- knowledge/self/direction.md — Cross-project meta-direction
- workspace/{id}/_workspace.md — MOC (as navigation hubs)
- docs/decisions/ — ADRs (when relevant to design-related queries)
- tasks.md — Task information
- SPEC.md, docs/SPEC-app.md, taxonomy.md — System definitions
## Files NOT to include in the ground truth set
- workspace/{id}/NNN-*.md — Temporary artifacts (distilled to knowledge/notes/ via /distill)
- workspace/{id}/_summary.md — Completion summaries (same reason)
- inbox/ — Source files (referenced by knowledge/notes/ via source:)
- reports/ — Output reports
## Important
- Maximize coverage. Minimize missed files
- For each discovered file, briefly explain why it is relevant
## Queries
{queries}
## Output Format (YAML)
For each query:
- query: "query text"
found_files:
- path: "file path"
relevance: "high" | "medium" | "low"
reason: "One-line explanation of relevance"
search_log: "Detailed description of the exploration process"Save results to eval/results/YYYY-MM-DD-deep.yaml.
Phase 1b: Incremental Update
Perform a differential check of new notes only, based on existing Deep Path results.
- Retrieve the frontmatter (tags, mentions) and file names of new notes
- For each new note, determine relevance to existing queries using frontmatter + file name only
- Add notes determined to be relevant to the existing ground truth set
- Save updated results as
eval/results/YYYY-MM-DD-deep.yaml
Phase 2: Natural Exploration (7 queries)
- Select 7 queries from
eval/queries.yamlvia stratified sampling:- entity: 2
- factual: 2
- synthesis: 2
- exploratory: 1
- Prioritize queries different from the previous run (rotation)
- For each query, execute natural exploration via a sub-agent (7 sub-agents in parallel)
Sub-agent prompt:
You are an exploration agent for a Rill PKM.
Find files related to the following query.
Feel free to use Glob, Grep, and Read. No directory restrictions.
## Repository Structure
- knowledge/notes/ — Atomic knowledge (1 file = 1 atomic piece of knowledge)
- knowledge/people/, orgs/, projects/ — Entity files (search anchors + normalization hubs)
- workspace/{id}/ — Workspaces (_workspace.md is the MOC)
- tasks.md — Task list
- inbox/*/_organized/ — Organized sources
## Metadata Structure
### knowledge/notes/ frontmatter schema
- `type`: record (facts/data) / insight (observations/interpretations) / reference (external citations)
- `source`: Source file path (required; every note has one)
- `tags`: Topic classification tags. Max 3. Inline array. Vocabulary managed via taxonomy.md
- `mentions`: Array of typed entity references. Format: [people/id, orgs/id, projects/id]
- `related`: List of related note paths (navigation aid for humans; low utility for exploration)
### Entity files
- knowledge/people/{id}.md — Person entities. `aliases` field manages name variants (e.g., aliases: [Alex Chen, alex-chen, A. Chen]). `company` field references orgs/{id}
- knowledge/orgs/{id}.md — Organization entities. Has `aliases` field
- projects/{id}/_project.md — Project entities (ADR-080: moved from the old knowledge/projects/{id}.md flat layout). `See Also` section contains navigation links to related workspaces and tasks
### File naming conventions
- knowledge/notes/ file names often use the entity ID as a prefix (e.g., acme-saas-pricing-model.md -> related to projects/acme-saas)
- File names are English kebab-case reflecting content
### Workspace structure
- workspace/{id}/_workspace.md is the MOC (Map of Contents). Has a curated list of topic-related notes in the "Related Files (MOC)" section
- Artifact files within workspaces (NNN-description.md) also contain related information
- `tags` and `mentions` fields classify topics
## Query
{query}
## Output Format
List of discovered files:
- path: "file path"
found_via: "mentions-grep" | "tags-grep" | "filename-glob" | "content-grep" | "read-follow" | "related-follow" | "entity-file"
reason: "One-line explanation of relevance"
Note: found_via classification criteria:
- `read-follow`: Discovered by following Markdown links or MOC entries found when Reading a file
- `related-follow`: Discovered by following the frontmatter `related:` field found when Reading a file
Search log:
Record the list of tools used and search terms.Phase 3: Comparison & Scoring
Compare the Deep Path ground truth set with the natural exploration results. Compare by exact path match.
Scoring target: Only files in the Deep Path ground truth target set. If natural exploration discovers non-target files such as workspace/NNN-*.md, exclude them from precision/recall calculation (neither false positive nor false negative).
For each query:
- precision: Proportion of target files found by natural exploration that are also in Deep Path (high+medium+low)
- recall: Proportion of Deep Path (high+medium) files also found by natural exploration
- metadata_contribution: Proportion of files in natural exploration where
found_viais mentions-grep, tags-grep, filename-glob, or entity-file (how much metadata/structure contributed to exploration)
Aggregate usage information from each sub-agent:
- avg_tokens_per_query: Average token consumption per query
- avg_tool_calls_per_query: Average tool call count per query
Phase 4: Save Results & Report
- Save results to
eval/results/YYYY-MM-DD.yaml - Write aggregate metrics to the
searchsection ofeval/metrics/YYYY-MM-DD.yaml:
search:
precision: 0.XX
recall: 0.XX
avg_tokens_per_query: NNNNN
avg_tool_calls_per_query: N.N
metadata_contribution: 0.XX
queries_evaluated: 7
sampling_method: stratifiedIf eval/metrics/YYYY-MM-DD.yaml already exists (i.e., /inspect was run the same day), preserve the static section and only add the search section.
- Update
eval/metrics/latest.yaml - If
--baselineflag is present, also copy toeval/baseline.yaml - Display summary to console:
## Exploration Benchmark (YYYY-MM-DD)
### Score Summary
| Metric | Value | Interpretation |
|--------|-------|----------------|
| Precision | 0.XX | XX% of exploration results are correct notes |
| Recall | 0.XX | XX% of correct notes were discovered |
| Metadata Contribution | 0.XX | XX% of discoveries were via metadata |
| Avg Tokens/Query | NNNNN | Exploration cost per query |
| Avg Tool Calls/Query | N.N | Operations per query |
### Calibration (correlation with /inspect metrics)
| /inspect Metric | Value | /eval Metric | Value | Correlation |
|-----------------|-------|--------------|-------|-------------|
| structural_reachability | 0.XX | recall | 0.XX | {positive/inverse/none} |
| mentions_coverage | 0.XX | metadata_contribution | 0.XX | {positive/inverse/none} |
### Target Queries (stratified sampling, 7 queries)
| ID | Query | Type | Precision | Recall | Tokens | Metadata% |
|----|-------|------|-----------|--------|--------|-----------|
| Q1 | Alex Chen's... | entity | 0.XX | 0.XX | NNNNN | 0.XX |
| ... |
### Token Usage
| Path | Total Tokens | Tool Calls | Duration |
|------|-------------|------------|----------|
| Deep Path | N | N | Ns |
| Natural Exploration Total | N | N | Ns |
| **Total** | **N** | **N** | **Ns** |
### Improvement Recommendations
1. {recommendation}- When
--compare YYYY-MM-DDis used, add a diff section:
### Previous Comparison (vs YYYY-MM-DD)
| Metric | Previous | Current | Change |
|--------|----------|---------|--------|
| Precision | 0.XX | 0.XX | +0.XX |
| Recall | 0.XX | 0.XX | +0.XX |
| Metadata Contribution | 0.XX | 0.XX | +0.XX |
| Avg Tokens/Query | NNNNN | NNNNN | -NNNNN |Phase 5: Analysis Report Generation
Analyze the Phase 4 scoring results and generate a report.
File Creation
Create the file with rill mkfile (to ensure timestamp accuracy):
rill mkfile reports/eval --type eval-reportAppend the body text to the output path using Edit (frontmatter is already generated by rill mkfile).
Report Body Structure
- Executive Summary (3-5 lines)
- Overall scores (Precision / Recall / Metadata Contribution)
- Quadrant determination using the diagnostic matrix from eval/concept.md (healthy / metadata-deficient / noisy / fundamental issue)
- If a previous comparison exists, note the direction of change
- Performance Analysis by Query Type
- Organize average scores per type (entity / factual / synthesis / exploratory) in a table
- Identify gap patterns between types (e.g., entity high / synthesis low -> metadata works for entity search but is insufficient for concept search)
- High-Score and Low-Score Query Analysis
- Highest scoring query: Why it succeeded (tag structure, mentions, filename prefix, etc.)
- Lowest scoring query: Why it failed (reasons for 0% metadata_contribution, reasons for low recall)
- Analyze "what was found" and "what was missed" with specific note paths
- Cross-Axis Calibration
- Cross-reference the static section (axes 1-2) and search section (axis 3) of
eval/metrics/YYYY-MM-DD.yaml - Gap analysis between structural_reachability and recall
- Gap analysis between mentions_coverage and metadata_contribution
- Diagnosis based on the calibration table in eval/concept.md
- Cross-reference the static section (axes 1-2) and search section (axis 3) of
- Improvement Recommendations (3-5 items, in priority order)
- For each recommendation, include "problem," "proposed solution," and "expected effect"
- Organize into 3 categories: metadata improvement (tags/mentions enhancement, filename prefix), exploration strategy, and Deep Path definition
- Do not recommend strengthening the related field (inconsistent with the Search-First paradigm; see eval/concept.md)
- Previous Comparison (when using
--compare, or when previous results exist for the same day)- Metrics diff table
- Identify improved/degraded queries and analyze causes
Analysis Guidelines
- Explain the "why," not just numbers: Illustrate the mechanisms behind scores with concrete examples
- Leverage missed_high_medium: Examine the frontmatter of notes in Deep Path that were missed by natural exploration, and analyze "why they were not found" (missing tags, missing mentions, search terms not hitting content-grep, etc.)
- Analyze found_via distribution: Evaluate metadata effectiveness from the ratio of mentions-grep/tags-grep/filename-glob (metadata-based) vs content-grep/read-follow (content-based)
- Compare against ideal model: If any queries achieve Precision 1.0 / Recall 1.0, extract those conditions and examine applicability to other queries
Rules
- Do not modify file contents. Evaluation only
- Deep Path must explore thoroughly (the quality of the ground truth set is the standard for everything)
- Provide natural exploration sub-agents with Rill structural knowledge (equivalent to CLAUDE.md / AGENTS.md information)
- Save results as YAML in
eval/results/, aggregate metrics ineval/metrics/ - Save analysis reports to
reports/eval/YYYY-MM-DD.md
Exit Processing
rill activity-log add "eval — precision:{precision}, recall:{recall}, metadata_contribution:{mc}, queries:{n}"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
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.

