lemma-work/lemma-platform/lemma-research
Claude Code and agent skill by lemma-work/lemma-platform
- community
Checking that the SKILL.md file is still in the repository.
Run rigorous, source-backed research in an existing Lemma pod. Use for investigations, literature or market scans, policy and product research, fact-checking, comparisons, current-information questions, and updates to prior research that require pod files, workspace material, or web sources; exact citations; explicit freshness and conflict handling; and a durable memo, evidence ledger, or source pack published to /me or an authorized shared pod folder.
Install
npx vskill@latest install lemma-work/lemma-platform/lemma-researchSKILL.md
Lemma Research
Build an auditable investigation, not a disposable answer. Preserve the path from question to source to evidence to claim, then publish the useful result into the pod when the task authorizes a durable artifact.
For any multi-source investigation, read `references/investigation-format.md` before collecting evidence. Use its stable IDs, ledger fields, citation forms, and memo structure.
Operating contract
- Ground every material factual claim in inspected evidence. Treat search-result
snippets, filenames, summaries, and model memory as leads, not evidence.
- Separate source (
S##), evidence (E##), and claim (C##). Preserve
the distinction even in a short answer.
- Prefer pod-local context before external context when researching the user's
organization, history, or prior work. Do not assume the public web supersedes private canonical material.
- Act only as the current user. Respect pod membership, workload grants, RLS, and
file visibility. A delegated agent uses the invoking user's RLS scope and /me; it gains no service-account or admin view. Its authority is its own grants intersected with what the invoking user could do — never their union — so a grant can only narrow the investigation's reach, never widen it past the person you are acting for.
- Treat an empty result as "not visible or not found in this scope," not proof
that the information does not exist. Never bypass RLS or a missing grant.
- Keep observable research records, not hidden chain-of-thought. Record queries,
sources, evidence, decisions, conflicts, and unknowns; omit private reasoning traces.
- Use current CLI help or the
lemma-userskill if a command differs. Never
improvise a Lemma command or path.
1. Frame the investigation
Orient to the active pod and its existing knowledge layout:
Write a compact research contract before searching:
- State the decision or question the result must support.
- Define the subject, population, geography, time window, comparison set, and
ambiguous terms.
- State what is out of scope and what deliverable is expected.
- Decompose the question into answerable subquestions. Classify each as factual,
comparative, causal, interpretive, or forward-looking so the evidence standard matches the claim.
- Identify the claims that would change the conclusion, plus the strongest
plausible counterclaim for each.
- Set an
as_ofdate and a stopping rule: stop when decisive claims have adequate
support, credible contradictions are resolved or exposed, and remaining unknowns are explicit.
Do not silently broaden the task. Ask only when a missing choice would materially change the research; otherwise state the narrow assumption and proceed.
For an update to prior research, locate the existing brief, source register, evidence ledger, and memo first. Preserve stable IDs, add new source versions, mark superseded or stale claims, and report the delta instead of silently replacing the earlier record.
2. Design the source strategy
Map every subquestion to its best available evidence, required freshness, and a fallback source. Match source type to claim type instead of applying one universal ranking.
Use this order where relevant:
- Inspect user-provided and pod sources for the user's facts, prior decisions,
terminology, and internal state.
- Inspect in-scope workspace files for implementation truth, datasets, logs, and
authored material.
- Search the web for current or external facts, beginning with original records,
official documentation, first-party data, standards, filings, or research.
- Use reputable secondary sources for discovery, interpretation, and independent
corroboration.
- Search deliberately for disconfirming evidence, superseding versions, and
definitions that could make apparently similar numbers incomparable.
Do not count duplicated reporting as independent corroboration. Trace syndication and citations back to the originating source where possible.
3. Retrieve and inspect sources
Pod files
Search narrowly, then open the exact passage:
Use HYBRID search by default; use TEXT for exact names, identifiers, and quoted phrases, and VECTOR for conceptual recall. Vary queries and scoped folders rather than trusting one ranked result. Record the path and returned page or line range.
Inspect a chart, scan, signature, footnote, table, or layout visually instead of inferring it from extracted text:
Then view ./source-p3.jpg with the available image-viewing capability. Use lemma files cat ... --pages 3 for what the page says and the rendered page image for what it shows. Prefer the pod's converted markdown and page images; use liteparse-documents only for outside-pod documents or when the derived artifacts are missing or insufficient.
Remember that spreadsheets (CSV, TSV, JSON, YAML, XLSX, ODS), presentations (PPTX, ODP), images, and email files are stored but not indexed. Only successfully processed, search-enabled documents with extracted chunks appear in search; a stored non-indexed file does not appear by filename alone. Check lemma files stat <path>, then list or download known files instead of concluding that search found everything. NOT_REQUIRED means the file was never eligible; PENDING/PROCESSING means retry shortly; FAILED_PERMANENT means retrying will never help and the document has to be read another way.
Workspace files
Inventory before reading broadly:
Use repository files, schemas, tests, logs, and history as direct evidence only for what they actually establish. Record an absolute or repository-relative path plus line, symbol, revision, or timestamp. Do not upload private workspace material to a shared pod folder unless the task authorizes that audience.
Web sources
Discover sources with your own web search — phrase the query specifically, with a date or a domain, rather than broadly. There is no CLI search command: search is a capability you already have, and the CLI's wrapper around it was removed.
Open promising results and inspect the source itself. Use the browser for authentication, form navigation, or anything you have to interact with. Preserve a decisive or volatile page when the investigation needs a durable snapshot; which command depends on what you have:
- With the
WEB_SEARCHtoolset,web_fetchis the direct route and needs no
shell. It takes a list of up to 5 URLs in one call, writes each page to out_dir in the workspace, and returns the file paths and a short preview rather than the page text. formats defaults to ["markdown"]; add pdf, jpeg or png when the layout is the evidence (a chart, a table, a signed page) and view the result with the image-viewing capability. Set render: true for pages that build their content with JavaScript, or when a plain fetch came back near-empty. Pages reported as not attempted should be re-requested on their own, not by repeating the whole list.
- With a workspace shell,
save-webpagedoes the same through the agent browser:
Record the canonical URL, publisher, publication or effective date, version, and retrieval date. Do not cite a search snippet, an inaccessible page, or a generated summary as though the underlying source was verified.
4. Build the evidence ledger while reading
Create source, evidence, and claim records as facts are inspected; never reconstruct the ledger from memory after writing the conclusion.
- Assign one stable
S##ID per source or version. - Assign one
E##row per bounded proposition or observation. Include an exact
page, section, table, timestamp, line range, or other locator.
- Assign one atomic
C##claim for each proposition used in the result. - Link every evidence row to the claims it supports, contradicts, or qualifies.
- Preserve only the minimum useful excerpt; paraphrase faithfully and keep the
locator so another reader can verify it.
- Record access limits, missing pages, extraction defects, paywalls, and suspected
duplication as evidence-quality notes.
Use the templates in references/investigation-format.md. Keep the ledger in Markdown for a compact investigation or CSV/JSON plus a Markdown source register when it will be filtered, updated, or consumed by an app.
5. Form claims and citations
Write claims narrowly enough to prove or disprove. Mark each as supported, contested, disproven, unknown, or stale; record confidence as high, medium, or low with a short evidence-based rationale.
- Place citations immediately after the claim they support.
- Cite exact locators: page, section, table, line, timestamp, record, or revision.
- Use direct web links for web claims and stable source IDs plus pod/workspace
locators for non-web claims.
- Label calculations, synthesis, and forecasts as analysis or inference. Cite their
inputs and show the material assumptions.
- Do not let a citation support a broader, more certain, or more current statement
than the source establishes.
- Avoid decorative citation piles. Prefer the few sources that directly establish
the claim and use independent corroboration when risk warrants it.
Run two audits before publishing: trace each material sentence backward to adequate evidence, then trace each decisive evidence item forward to the claim or conclusion that uses it.
6. Resolve freshness and conflicts
Verify time-sensitive claims against a source current to the investigation's as_of date. Distinguish publication date, event date, effective date, data period, and last-updated date. Mark a source or claim stale when the required time horizon has passed; never hide an older date behind present tense.
When sources disagree:
- Confirm that they measure the same entity, interval, geography, unit, definition,
and version.
- Check whether one source cites, copies, corrects, or supersedes the other.
- Prefer the more direct and current source only after confirming equivalent scope.
- Seek an independent adjudicating source or underlying record.
- Preserve the disagreement when it cannot be resolved. Mark the claim
contested, explain the decision impact, and avoid averaging incompatible facts.
Keep "not found," "not accessible," "not measured," and "evidence of absence" as different states.
7. Synthesize the answer
Lead with the answer, decision, or finding. Then present the decisive evidence, important qualifications, credible counterevidence, and remaining unknowns. Separate observed facts, inference, and recommendation. Use a comparison table or timeline only when it exposes a real relationship.
Use the memo template in references/investigation-format.md. For a short response, retain its logic in miniature: answer, evidence, conflicts, unknowns, sources, and as_of date.
Stop when additional sources are unlikely to change the conclusion. Do not equate volume with rigor.
8. Publish and verify the durable result
Choose the destination deliberately:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinglemma-skills/lemma-research/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lemma-work/lemma-platform/lemma-research)