Hallucination red team
Skill zgbrenner/agentcounsel/skills/legal-methodology/hallucination-red-team
Use when stress-testing draft legal work product for hallucination risk by separating factual claims, legal claims, cited authorities, user-provided information, model-generated information, unsupported claims, uncertainty, and safer revisions.From its SKILL.md
npx -y skills add zgbrenner/agentcounsel --skill hallucination-red-teamAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 17 stars17 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.4 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Hallucination Red-Team
Purpose
Force a draft legal output to account for every factual claim, legal claim, cited authority, user-provided fact, model-generated statement, unsupported claim, and uncertainty marker. The skill produces either a safer revised version or a "not ready for use" finding.
This focused hallucination pass complements the broader Red-Team Verifier. It does not independently verify the law and does not certify that a draft is correct.
Use When
- A draft contains legal claims, factual claims, citations, quotations, or confident conclusions that may be unsupported.
- A user asks for a hallucination check, unsupported-claim audit, or safer revised version.
- A draft will be sent externally, filed, used in a client communication, or relied on for a high-risk decision.
- A model produced the draft without a clear claim/source table.
Choosing among the verification skills:
- Use this skill for a targeted hunt for fabricated or unsupported content in a draft.
- Use
red-team-verifierinstead for the full adversarial pass over an entire deliverable — the superset that also covers reasoning, framing, jurisdiction, and completeness. - Use
citation-integrity-checkinstead when the review is limited to citations and quotations. - Use
source-validationinstead for claim-by-claim classification of whether each claim in a draft is supported by the available sources.
Required Inputs
- The complete draft to red-team.
- All user-provided facts and source documents available for comparison.
- Any cited authorities, research notes, or source lists.
- The intended use and recipient.
If the draft is missing, stop and request it. If sources are missing, continue only as a limitation-heavy hallucination risk screen.
Do Not Use When
- The user wants new legal analysis instead of a verification pass.
- The output has no claims to audit.
- The user asks for a final certification that no hallucinations exist.
Legal Safety Rules
- Source and citation discipline. Follow
core/source-and-citation-discipline.md. Never invent legal authority, citations, quotations, statutes, cases, regulations, filing deadlines, or procedural rules. Label what is a provided source, a user-provided fact, an assumption, a legal inference, or an item requiring attorney verification, and use a citation placeholder such as[Attorney to insert authority]when no source is available. - Produce draft legal work product for attorney review. This is not legal advice.
- Do not claim the absence of hallucinations. State only what was checked and what remains unresolved.
- Do not invent sources, facts, citations, or safer substitute law.
- Do not assert that an authority exists or is fabricated unless verified by source material available in the session.
- Preserve privilege and confidentiality.
Workflow
- Segment the draft. Break the draft into discrete factual claims, legal claims, citations, quotations, assumptions, recommendations, and conclusions.
- Classify information origin. For each item, mark whether it is user-provided, source-provided, model-generated, inferred, or unclear.
- Inventory authorities. List every authority, citation, quotation, source URL, statute, rule, case, regulation, or guidance reference.
- Flag unsupported claims. Mark claims with no source, insufficient source support, contradicted source support, unclear origin, or overbroad phrasing.
- Flag authority risks. Mark invented-looking or unverifiable authorities, missing pin cites, jurisdiction mismatch, outdated authority risk, and unsupported legal propositions.
- Mark uncertainty. Add or recommend
[CONFIRM: ...],[VERIFY: ...],[citation needed],[pin cite needed],[verify jurisdiction], and[deadline verification required]markers where needed. - Decide readiness. If material unsupported claims, authority risks, or missing gates remain, mark "not ready for use." Otherwise mark "ready for attorney review," not final use.
- Revise safely. Produce a safer revised version only where the revision removes overclaiming, labels uncertainty, or narrows to supported facts. Do not supply missing law.
Output Format
Deliver:
-
Draft Label — "Draft legal work product for attorney review. Not legal advice."
-
Readiness Finding — Ready for attorney review / Not ready for use, with reasons.
-
Claim-Origin Table
# Claim Type Origin Support status Risk Required action -
Authority Risk Table
Authority Use in draft Verification status Hallucination risk Required action -
Unsupported Claims List
-
Uncertainty Markers To Add
-
Safer Revised Version — Or "No safe revision without additional sources/attorney judgment."
-
Attorney Verification Checklist
Attorney Verification Checklist
- Every factual claim is traced to user-provided or source-provided material, or is marked as unsupported.
- Every legal claim is supported by verified authority or flagged for attorney research.
- Every cited authority and quotation has been independently checked.
- Model-generated claims have been removed, sourced, or marked for verification.
- Jurisdiction and deadline gaps are resolved or visibly flagged.
- The revised draft does not present unsupported analysis as settled law.
- The output is ready for attorney review only; it has not been treated as final.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.