source-evaluation
Skill1 starsChanged 23 days agoMITView on GitHub
The common procedure for every codelabgen source hunter — how to fetch and inspect candidate sources, score them, assign roles, and record them with `codelabgen sources add`. Load together with the skill for the source type being searched.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- nahid-sparktales/agent-dispatchertheir own version, first seen Sep 21, 2026
- crfldrxyz/AuthorOps-Skillstheir own version, first seen Sep 1, 2026
- sivaguru-2113/Agent-personatheir own version, first seen Aug 18, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- nahid-sparktales/agent-dispatcher★ 59same name
- sivaguru-2113/Agent-persona★ 1same name
- crfldrxyz/AuthorOps-Skills★ 0same name
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 repository24 other files it gives its agents.
- code-authoringSkill
- codelabgen-orchestratorSkill
- course-extensionSkill
- curriculum-designSkill
- diagrammingSkill
- example-designSkill
- lesson-reviewSkill
- notes-writingSkill
- readalong-writingSkill
- runtime-strategySkill
- site-assemblySkill
- source-articlesSkill
- source-books-coursesSkill
- source-digestSkill
- source-github-reposSkill
- source-official-blogSkill
- source-official-docsSkill
- source-package-internalsSkill
- source-papers-specsSkill
- source-qaSkill
- source-talks-workshopsSkill
- source-universitySkill
- state-protocolSkill
- topic-extractionSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Start from these criteria, then use judgment:
- Distinctive: line 62
Add each source as one JSON object:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Finding and recording sources
A course is only as good as its sources. Your job is to find the best few sources of one type, check each one, and record it so the user can review the list. Quality beats quantity: 5 excellent sources are worth more than 20 mediocre ones.
Inputs
Before searching, read:
.codelabgen/config.yaml: topic, pinnedversion, courselanguage,budgets.sources_per_type.codelabgen/research/overview.md: what the technology is, its packages, docs and repo URLscodelabgen sources list --brief: what is already recorded, so you don't propose duplicates
Tools
| Need | Use |
| Web search | WebSearch. Run several focused queries rather than one broad one |
| Read a page | codelabgen fetch <url>, then Read the cached file it prints. The cache is shared, so other agents reuse your fetches |
Large documents (llms-full.txt, PDFs) | Grep the cached file for headings and keywords; don't Read it whole |
| GitHub | codelabgen github repos/code/meta/issues … (JSON output) |
| The library's own code | codelabgen repo clone <repo> at the pinned version |
| Package versions | codelabgen pkg-info <pypi|npm|crates|go> <name> |
Fall back to WebFetch only for a page codelabgen fetch can't read.
Check every source before recording it
Open it (fetch and read at least the beginning and the structure). Record a source only if you have seen that:
- it is reachable and really is what the title says
- it is about this technology, and you know which version it targets (from the date, the version mentioned, or the API it uses)
- it adds something: an explanation, examples, a structure or pitfalls that other recorded sources don't already cover
Score (0–1)
Start from these criteria, then use judgment:
| Criterion | Strong | Weak |
| Authority | Official docs or maintainers, recognized experts, universities | Anonymous, content farms, AI-generated filler |
| Version fit | Targets the pinned version or one compatible with it | Older major version, removed APIs |
| Depth | Explains why, covers edge cases | Restates the quickstart |
| Runnable examples | Complete code that runs | Fragments, pseudocode |
| Freshness | Updated within the life of the pinned major version | Predates it |
As a guide: official docs for the pinned version score 0.9–1.0, a strong independent tutorial 0.6–0.8, a useful but dated piece 0.4–0.6. Below 0.4, don't record it. Sources at 0.6 or above start ticked on the review sheet.
Roles
Give each source every role it serves well:
structure: shows how the topic is usually taught (tables of contents, course outlines, tutorial sequences)code-truth: shows how the API really behaves in the pinned version (official examples, tests, reference docs)concepts: explains ideas and the reasoning behind thempitfalls: common mistakes, confusing behaviour, known problems
Recording
Add each source as one JSON object:
codelabgen sources add --course <dir> --json '{"url": "https://docs.langchain.com/oss/python/langgraph/graph-api", "type": "official-docs", "roles": ["code-truth", "concepts"], "title": "Graph API overview", "language": "en", "version": "1.x", "date": "2026-09", "score": 0.95, "reason": "Official reference for StateGraph, nodes, edges and reducers, with runnable snippets."}'typeis the type you were asked to search.codelabgen schema show sourcelists all fields.title: the real title of the page, repo, book or talk.reason: one sentence in English saying what the source gives the course. The user reads it when deciding.languageof the source itself (ISO code).dateis YYYY-MM or YYYY-MM-DD, when you know it.- Adding the same URL again merges the entries, so re-adding is safe.
Stay within budgets.sources_per_type for your type, unless the user's own sources push past it.
Finish
End with the status JSON (see the state-protocol skill), for example:
{"lesson": null, "status": "ok", "stage": "sources", "artifacts": [".codelabgen/sources.jsonl"], "notes": "official-docs: 6 sources added, best: Graph API overview (0.95)"}Mention gaps in notes, such as "no university material found", so the orchestrator can tell the user.
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.

