Research material scout

From huangruiteng/CS-Notes · View interactive version

Research material scout is an AI agent skill from the GitHub repository huangruiteng/CS-Notes. Research and triage learning materials; read and explain sources for "请你读" / "精读"; process "素材:" intakes and "读完" closure. Explicit reading follows the source's argument, not career or project ranking.

How to use this skill

Skill file

Research Material Scout

Choose the mode first

Discovery Mission

Build a high-signal learning and career material pipeline for the user.

Use the user's current, explicitly confirmed Decision Context to select the next learning action. Read its current version and distinguish user facts, source evidence, and assistant proposals. Career themes are defaults, not permanent weights: new responsibilities, a decision deadline, or a completed reading can change the order. Keep private context out of public queries and skill text.

Before recommending a first read, check existing Notes, managed material records, and the user's latest read-completion statements. Material importance and remaining reading effort are separate: a central paper already understood may need only one missing experiment, a design delta, or a later revisit. Do not invent a completed/archive transition; use the active lifecycle contract and an explicit disposition.

For user-directed note integration, the named target and source's primary domain take precedence over career mapping. Common discovery lanes include agent runtime/evaluation/memory, model learning, serving and RL systems, product workflows, and career signals; select among them from the current task rather than a fixed percentage split.

For decision-driven X discovery or benchmark reading recommendations, read the focused scout protocol.

Boundary With LoopX Material

This skill is the CS-Notes source-discovery and exact-reading adapter. It owns

source recall, primary-source verification, reader maps, domain scoring, and

the CS-Notes public/private landing decision.

When the connected project or goal explicitly activates Material Lifecycle, use the

project-local managed loopx-material skill for generic store inventory, candidate/archive

transitions, lossless migration, ranked-entry rebuild, bounded rerank,

owner-gated apply, rollback, and audit. Pass exact-read evidence and the

project-specific score into that workflow; do not duplicate or weaken its

authority and losslessness gates here.

For CS-Notes, a managed authority pointer under

.local/material-lifecycle/authority/current.json means the old candidate and

archive Markdown files are immutable legacy content backing. Never append a

candidate, archive an item, or edit the old Top30 in those files. Use the

project-local loopx-material workflow and the private managed intake adapter.

An explicit 素材: request authorizes candidate intake, a ranking

settlement, and reviewed public-field export for verified public sources

in the same user workflow. Keep intake and ranking as separate

receipts and, when ranking changes, separate authority revisions so CAS,

preview, rollback, and audit remain independent.

For verified public sources, finish version-bound field review and public queue

prepare/apply/check in that workflow; do not wait for another request to publish

the local queue. Keep original content, private annotations and audit evidence

local. Internal or uncertain sources remain private. A public-looking domain

alone is insufficient evidence, and public export never bypasses digest or

owner-gate checks.

Before recommending a first read or refreshing after Git pull, reconcile explicit

owner read-completion evidence and verified remotely merged completion records

with the managed authority. Archive completed material through the source owner;

retain original sources/backing. If retained as a read reference, label the revisit

purpose and keep it in backlog. Assistant read_scope is not owner completion.

Every intake must end with one explicit disposition: top_window,

ranked_backlog, or no_change. Determine high value from exact-read evidence,

S/A/B tier, current Decision Context, overlap, and artifact convertibility rather

than tier alone. A high-value material must gain verified ranked membership in

the Top30 or ranked backlog; it may not remain only an unranked candidate.

no_change requires a reason and is reserved for lower-value or substantially

duplicative material. If the Top30 is full, move displaced entries into the

ranked backlog without loss. Do not move protected anchors without a changed

Decision Context or explicit owner instruction. When auditing or reshaping the

Top30 against active deliverables, stratify by horizon wave and reading effort

(note-system/materials/material_wave_ranking.py), verify load-bearing primary

citations are settled ahead of secondary commentary, and keep orthogonal trend

items in ranked_backlog rather than crowding active decision waves.

The installed project skill does not itself activate Material Lifecycle.

Without an active project- or goal-scoped profile, declared source authority, and current native owner authorization, this skill may research or read material but must not rewrite the managed store. An already authorized ordinary project source does not require a new Goal or a borrowed agent identity.

Source Strategy

Prefer primary sources for technical conclusions:

Use social media, 微信公众号, 小红书, X/Twitter, 微博, and aggregators as discovery signals, not final truth.

When extracting mechanisms from a repo, quickstart, prompt, or code file, include file-level links in the user-facing answer and persisted notes/archive. For GitHub sources, prefer commit-pinned permalinks and record the commit read; avoid writing only a repo name or bare filename when a concrete source file drove the claim.

Choose currently callable tools by the question and source type:

Codex remains responsible for verification, ranking, summarization, and local persistence. No specific aggregator is a prerequisite. A publicly listed skill or downloadable client does not establish that its backend is publicly usable; verify service access and dependencies before adopting one. Continue through available sources when an optional tool is absent, and report only coverage gaps that affect the answer.

Implementation-First Catalogs

For Agent Harness / agent infra exploration, use implementation-first catalogs as a source-discovery layer before broad web search when available.

Current primary catalog:

Use it as an index, not as evidence by itself:

  1. Pick the relevant ETCLOVG layer first: execution, tooling, context, lifecycle, observability, verification, or governance.
  2. Inspect the candidate repo's README, docs, releases, issues, or paper before ranking it.
  3. Prefer implementation entries that can change the user's artifacts: sandbox boundary, tool registry/schema, state/context contract, handoff/workflow loop, trace/eval schema, policy/audit layer.
  4. Do not dump many frameworks into Top30. Promote only high-signal projects through the current managed candidate authority, with read status and concrete artifact deltas.
  5. Treat stars and catalog summaries as recall/ranking hints, not truth.

arXiv / Paper Reading Route

For arXiv papers, do not jump straight to PDF extraction unless HTML is unavailable.

Resolution order:

  1. Normalize the paper id and version from any of these forms:
  1. Try arXiv HTML first:
  1. Use the abs page for metadata, title, authors, abstract, version history, and links.
  2. For 精读, method-heavy papers, or cases where HTML lacks needed appendix, math, algorithm, prompt, or caption detail, try the arXiv TeX source before PDF fallback:
  1. Fall back to PDF only when HTML/source is missing, blocked, malformed, or lacks the needed figures/tables.
  2. If using PDF fallback, extract text into .local/paper-cache/ and explicitly say that the read path was PDF fallback.

Why this matters:

Paper Radar Pattern

For recurring or paper-heavy exploration, use daily-paper-reader as a design reference, not as a dependency to install. Its useful increment is the pipeline shape: intent profiles -> multi-lane recall -> fusion/rerank -> evidence scoring -> deep/quick/carryover selection.

Adopt these patterns:

  1. Convert the user's current goal into 1-3 intent profiles. Each profile should have:
  1. Run more than one lane when possible. Combine exact keywords, semantic queries, and source-specific searches instead of relying on one giant query.
  1. Fuse and rank qualitatively:
  1. Split results into deep, quick, background, and carryover:
  1. For papers where figures/tables are central, inspect HTML, TeX, PDF figures, tables, or repo assets before ranking when feasible.

Do not copy these parts by default: GitHub Actions / Pages deployment, Supabase schema, remote public embedding/rerank services, front-end panels, API keys, or the exact prompt text. Keep the local skill lightweight and source-agnostic.

Multi-Source Paper Exploration Mesh

For paper-heavy exploration, absorb daily-paper-reader's paper data-source coverage rather than its hosted search/deployment stack. The key improvement is to search several paper-source lanes in parallel and then merge them with Codex's existing source stack.

Default paper lanes:

Combine these with non-paper lanes:

Operational rule:

  1. For a focused paper search, choose at least 2 relevant paper lanes plus 1 implementation or docs lane when possible.
  2. For a broader paper radar, choose 3-6 lanes and keep per-lane coverage visible.
  3. Do not wait for a local database or hosted search service to exist. Use official source pages, platform APIs, source-specific search, ordinary web search, and available local readers in parallel.
  4. Rank by cross-lane agreement, primary-source quality, code/data availability, and direct artifact impact.
  5. Record which lane found each S/A candidate and which high-value lane was checked but produced no useful hit.

If this skill has scripts/multi_source_paper_explore.py, use it as the first-pass paper-source recall helper for paper-heavy tasks:

python3 .codex/skills/research-material-scout/scripts/multi_source_paper_explore.py \
  --query "<topic>" \
  --query "<alternate wording or known title>" \
  --sources arxiv,openreview,openalex,biorxiv,medrxiv,chemrxiv,venue-hints

Repeat --query for intent-query expansion. Narrow --sources to topic-fit lanes when domain preprint servers are likely irrelevant.

Use a dual-track exploration flow for real paper-heavy work:

  1. Run the script for structured paper-lane recall and per-lane evidence.
  2. In parallel, run Codex's existing web / platform / GitHub / official-doc search for project pages, repos, social/aggregator leads, implementation evidence, and missed terminology.
  3. Merge the two result sets before ranking. Treat script-only hits as candidates to verify, and web-only hits as leads to trace back to primary papers / code / docs.

The script is only a recall layer; it complements rather than replaces the older exploration stack.

Authenticated Social Link Reading

Use public metadata when sufficient; for incomplete posts, replies, or signed-in search, read the installed ego-browser skill and follow its current TaskSpace and API contract. Do not copy stale browser methods into this skill. Reuse the user's sign-in; inspect visible posts and original links, and close only task-owned surfaces.

Capture relevant author, date, post URL, primary-source links, read scope, and the claim to verify. Avoid unrelated recommendations, DMs, account statistics, or a bulk feed dump. Inspect needed images through supported browser/media tools; do not download remote media to work around display restrictions. Store private evidence under .local/. A social post can be a first-party statement of its author's claim, but reported experimental results still require the paper, code, or data protocol.

Agent-Reach Complement

Agent-Reach (https://github.com/Panniantong/Agent-Reach) is an optional local scaffolding layer for source-level coverage. Check its installed capabilities before relying on it.

Use it as a design reference or optional install, not the default primary source.

What it adds:

Use it when an installed reader adds needed coverage for a specific URL, video, repo, or thread, or when search results are too summarized to verify. Prefer an existing native reader when it already covers the source.

Do not install Agent-Reach automatically unless the user asks. It may install many dependencies and configure cookies/proxies. If installed, keep secrets/cookies local and never commit them.

Intake Workflow

Directive convention:

For each user-provided material:

  1. Classify the request intent before choosing tools or files:

User-Highlighted Detail Preservation

When the user provides a numbered/bulleted readout, quoted phrase, prompt snippet, schema, env var, failure case, or says "这个值得作为专题section / 概念级别 / 这个点要记", treat it as first-class source material rather than optional color.

The note-writing rules below apply to 整理笔记 / 读完. During 请你读 / 精读, cover the user's details in the illustrated conversation answer; do not turn detail preservation into unsolicited note edits.

  1. Preserve the original link in the final note title.
  1. Try the best reader first:
  1. If unreadable, mark as Unread and ask for pasted text, screenshot, export, or accessible copy.
  2. Classify into S/A/B/Unread:
  1. If Material Lifecycle is active, write exact-read evidence and staged content, then use the active project source adapter documented in .local/material-lifecycle/README.md to intake one candidate or revise its existing stable ref. Verify an intake adds exactly one record, or a revision preserves identity, lifecycle and membership, then create the separate Decision Context-backed ranking revision in the same workflow. Verify the disposition, ranked membership when required, authority readback, readable projection, audit receipt, and rollback path before reporting completion.
  2. For verified public sources, review the public fields against the current authority, body digest and complete record digest; apply and read back the public projection in the same workflow. Check both public and private partitions. Report an unresolved review/export failure instead of treating private intake alone as completion.

Active Research Workflow

When proactively finding materials:

  1. Start from the user's current goals, not generic trends.
  2. For paper-heavy or recurring themes, draft a small intent-profile plan first: tags, exact keywords, semantic queries, and source lanes. Include arXiv / OpenReview / venue lanes (NeurIPS, ICLR, ICML, ACL, EMNLP, AAAI) when relevant, and add domain preprint lanes (bioRxiv, medRxiv, ChemRxiv) only when the topic warrants them. Then query across at least two source types when possible: paper/code/docs/social.
  3. For paper-heavy tasks, run multiple selected paper-source lanes in parallel where possible, then merge them with code/docs/social/implementation lanes. Do not make a local database or hosted search service a prerequisite for exploration.
  4. Prefer fewer, higher-quality materials over broad dumps. Keep per-lane coverage visible so one popular source does not crowd out a strategically important niche source.
  5. For each candidate, capture:
  1. If a social/aggregator/source-search item points to a paper or repo, follow the paper/repo before ranking.
  2. End with a selection split: S/A/B/Unread plus deep / quick / background / carryover; carryover items must have a reason and a next trigger.

Self-Verification

For discovery/intake (reading-only checks live in the reading protocol):

  1. Verify actual source coverage: which relevant lanes were read, returned no useful results, or could not be accessed. State read scope and unresolved evidence gaps; do not repeatedly probe or report an unconfigured optional service.
  2. Check at least two source types for active research whenever possible, such as paper + repo, official docs + social discussion, or product page + engineering blog.
  3. For every S/A candidate, include:
  1. Confirm the candidate stable ref exists exactly once in the current managed catalog, the immutable content backing digest verifies, and an intake receipt records CAS/readback success.
  2. For 读完 / note integration, run a user-highlighted point audit: every explicit bullet, numbered item, prompt snippet, schema field, env flag, comparison phrase, or doubt from the user is either present in Notes/, present only in .local with a privacy/version reason, or intentionally skipped with a reason reported.
  3. If any source could not be read, say so explicitly and ask for paste/screenshot/export only when necessary.

Quality Bar

Reject or demote materials that are:

Output Style

For intake and note edits, report concisely what changed, where, and the key judgment. Reading explanations follow the reading protocol; concise status reporting does not set their depth.

When writing into Notes/:

For high-value materials, include the next concrete action, such as:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.