Agent skill · Audited from source
Legal Research
skill · revfactory/harness-100Apache-2.0 licenceAudited 12 Oct 2026 · source 459e1bb8f76e
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 459e1bb8f76e and found no filesystem, network or shell access and no hard-coded secrets.
Cite
Cite this page
ModelsAtlas. “Legal Research (revfactory/harness-100)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/revfactory/legal-research
Trust audit
Audit 0.4.1 · source read 12 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 1 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
LOWInventory / provenanceskill.no_frontmatter · SKILL.md:1
- Why
- SKILL.md lacks name/description frontmatter
- Fix
- —
Audit 0.4.1 · source sha 459e1bb8f76e · 12 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherrevfactory GitHub userOwner of the repository this skill is read from
- Source folderrevfactory/harness-100/en/70-legal-research/.claude/skills/legal-researchThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict459e1bb8f76eA new audit runs when the source changes
- Repository statusNot archivedLast push 203 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗```markdown
---
name: legal-research
description: "Full legal research pipeline. An agent team collaborates to perform case search → legal doctrine analysis → opinion drafting → strategy formulation in one pass. Use this skill for all legal research tasks including 'legal research', 'case search', 'legal doctrine analysis', 'legal opinion', 'litigation strategy', 'legal issue analysis', 'legal review', 'dispute response strategy', 'legal risk analysis', 'legal advisory materials', etc. However, actual legal advice (attorney opinion letters), litigation/arbitration representation, direct integration with legal databases (comprehensive legal information systems), and notarization of legal documents are outside the scope of this skill."
---
# Legal Research — Legal Research Pipeline
Systematically performs case search, legal doctrine analysis, opinion drafting, and strategy formulation for legal issues.
## Execution Modes
**Agent Team** — 4 agents communicate directly via SendMessage and perform cross-validation.
## Agent Composition
| Agent | File | Role | Type |
|---------|------|------|------|
| case-searcher | `.claude/agents/case-searcher.md` | Case search, trend analysis | general-purpose |
| legal-analyst | `.claude/agents/legal-analyst.md` | Issue identification, legal doctrine analysis | general-purpose |
| opinion-writer | `.claude/agents/opinion-writer.md` | Legal opinion drafting | general-purpose |
| strategy-advisor | `.claude/agents/strategy-advisor.md` | Strategy formulation, risk assessment | general-purpose |
## Workflow
### Phase 1: Preparation (Orchestrator performs directly)
1. Extract from user input:
- **Legal Issue**: Specific legal question or dispute situation
- **Facts**: Facts of the relevant case
- **Relevant Legal Domain**: Civil, criminal, administrative, labor, intellectual property, etc.
- **Client Position**: Plaintiff / defendant / victim / other
- **Existing Materials** (optional): Contracts, evidence, prior opinions, etc.
2. Create `_workspace/` directory at the project root
3. Organize input and save to `_workspace/00_input.md`
4. **Determine execution mode** based on the scope of the request
### Phase 2: Team Assembly and Execution
| Order | Task | Assigned To | Dependencies | Output |
|------|------|------|------|--------|
| 1 | Case search | case-searcher | None | `_workspace/01_case_search.md` |
| 2 | Legal doctrine analysis | legal-analyst | Task 1 | `_workspace/02_legal_analysis.md` |
| 3 | Opinion drafting | opinion-writer | Tasks 1, 2 | `_workspace/03_legal_opinion.md` |
| 4 | Strategy formulation | strategy-advisor | Tasks 2, 3 | `_workspace/04_legal_strategy.md` |
**Inter-team Communication Flow:**
- case-searcher completes → delivers key cases and issue-by-issue classification to legal-analyst
- legal-analyst completes → delivers issue structure map and legal doctrine analysis to opinion-writer; delivers win probability assessment to strategy-advisor
- opinion-writer completes → delivers opinion conclusions and certainty level to strategy-advisor
- strategy-advisor cross-validates logical consistency across all outputs when drafting the final report
### Phase 3: Integration and Final Deliverables
1. Review all files in `_workspace/`
2. Verify logical consistency across case search → legal doctrine → opinion → strategy
3. Report final summary to the user:
- Case Search Report — `01_case_search.md`
- Legal Doctrine Analysis Report — `02_legal_analysis.md`
- Legal Opinion — `03_legal_opinion.md`
- Strategy Formulation Report — `04_legal_strategy.md`
## Modes by Task Scope
| User Request Pattern | Execution Mode | Agents Deployed |
|----------------|----------|-------------|
| "Full legal research", "Comprehensive legal issue analysis" | **Full Pipeline** | All 4 agents |
| "Just find relevant cases" | **Case Search Mode** | case-searcher only |
| "Analyze the legal doctrine for this issue" | **Legal Doctrine Analysis Mode** | case-searcher + legal-analyst |
| "Just draft the legal opinion" (analysis already available) | **Opinion Mode** | opinion-writer |
| "Just formulate the litigation strategy" (opinion already available) | **Strategy Mode** | strategy-advisor |
## Data Transfer Protocol
| Strategy | Method | Purpose |
|------|------|------|
| File-based | `_workspace/` directory | Storing and sharing major deliverables |
| Message-based | SendMessage | Real-time delivery of key information, revision requests |
File naming convention: `{sequence}_{agent}_{deliverable}.{extension}`
## Error Handling
| Error Type | Strategy |
|----------|------|
| Web search failure | Case searcher proceeds with general legal knowledge, notes "case DB not queried" |
| Insufficient facts | Ask follow-up questions before proceeding; perform general analysis with minimal information |
| Agent failure | Retry once → if still failing, proceed without that deliverable; note omission in final report |
| Legal judgment uncertainty | Present multiple interpretations, note "professional legal counsel recommended" |
| Logical inconsistency between outputs | strategy-advisor identifies inconsistency and requests re-review |
## Test Scenarios
### Normal Flow
**Prompt**: "When a consumer suffers damages due to delayed delivery from an online shopping mall, please conduct legal research on the seller's liability for damages."
**Expected Results**:
- Case search: 5+ cases related to e-commerce delivery delay damages
- Legal doctrine analysis: Analysis of issues under breach of contract, Consumer Protection Act, and E-Commerce Act
- Opinion: IRAC structure, certainty level noted, disclaimer included
- Strategy: Comparison of litigation / mediation / negotiation options, cost-benefit analysis
### Partial Flow
**Prompt**: "Find cases related to dismissal under the Labor Standards Act."
**Expected Results**:
- Switches to Case Search Mode (case-searcher only)
- List of Supreme Court cases on unfair dismissal, classified bExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 459e1bb
git clone https://github.com/revfactory/harness-100 git -C harness-100 checkout 459e1bb8f76e
The author documents no install command, so this uses the repository directly. Our verdict covers commit 459e1bb8f76e only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
459e1bb8f76e
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/revfactory/legal-research/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All research skills →mattpocock/skills
Implement a piece of work based on a spec or set of tickets.
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
mattpocock/skills
Pursue a long-running goal in a single session by co-ordinating subagents.
Add this badge to your README
[](https://modelsatlas.com/skills/revfactory/legal-research/)
<a href="https://modelsatlas.com/skills/revfactory/legal-research/"><img src="https://modelsatlas.com/skills/revfactory/legal-research/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Legal Research
Is Legal Research safe to install?
What can Legal Research access on my machine?
How current is this page?
Sources
- github.com/revfactory/harness-100/tree/main/en/70-legal-research — the audited source at commit 459e1bb8f76e and every finding aboveObserved · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- Is Legal Research safe to install?
- What can Legal Research access on my machine?
- How current is this page?