Agent skill

Legal Canned Responses

by borghei in borghei/Claude-Skills

Generate templated responses for common legal inquiries with escalation detection.

MITAuto-check passedSales & Support

Install Legal Canned Responses

skills CLI
$ npx skills add borghei/Claude-Skills --skill legal-canned-responses -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borghei/Claude-Skills legal-canned-responses --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/legal/legal-canned-responses .claude/skills/legal-canned-responses && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
legal-canned-responses
GitHub stars
891
Token cost
~3.1k tokens
SKILL.md length
1,066 words
Files
5 (incl. scripts, references)
Skills in repo
354
Repo updated
First seen
Licence
MIT

At a glance

Generate templated responses for common legal inquiries with escalation detection.

  • Works in 2 steps: Response Generator… → Escalation Detector…
  • Drafting legal responses
  • SKILL.md covers Overview, Table of Contents, Clarify First and Tools, plus 9 more sections
  • Runs Python scripts from its folder; calls python

What it does

Legal Canned Responses is an agent skill from borghei/Claude-Skills. Generate templated responses for common legal inquiries with escalation detection. Use when drafting legal responses.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/escalation_triggers.md`, `references/response_templates.md` and `scripts/escalation_detector.py`).

It sits in Sales & Support, covering Help center and FAQ content. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Drafting legal responses
  • Tasks that involve Help center and FAQ content

Example prompts

  • “/legal-canned-responses”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Response Generator (scripts/response_generator.py)
  2. Escalation Detector (scripts/escalation_detector.py)

What it can do on your machine

Read from SKILL.md and the folder at commit 4a698e8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legal Canned Responses loads about 3.1k tokens when it runs, and up to ~9k if it reads all its reference files. Until then it costs about 35 tokens; SKILL.md has 1,066 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 1,066 words, ~3,056 tokens.

Download SKILL.mdSave it as .claude/skills/legal-canned-responses/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
legal-canned-responses
description
Generate templated responses for common legal inquiries with escalation detection. Use when drafting legal responses.
license
MIT + Commons Clause
metadata.version
1.0.0
metadata.author
The Glass Room
metadata.category
legal
metadata.domain
legal-operations
metadata.updated
2026-04-10
metadata.tags
legal-responses, templates, escalation, legal-ops, intake

⚠️ EXPERIMENTAL — This skill is provided for educational and informational purposes only. It does NOT constitute legal advice. All responsibility for usage rests with the user. Consult qualified legal professionals before acting on any output.

Overview

Production-ready toolkit for generating templated responses to common legal inquiries with built-in escalation detection. Covers 7 response categories with multiple sub-types each, plus a universal and category-specific escalation trigger system. Designed for legal operations teams handling high volumes of recurring inquiries while ensuring critical matters are routed to counsel.

Table of Contents

Clarify First

Before generating the response, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Inquiry category + sub-type — DSR-acknowledgment vs subpoena-objection select completely different templates
  • The raw inquiry text — required to run escalation detection first; a litigation, regulator, law-enforcement, or press trigger means STOP and route to counsel, not a templated reply
  • Substitution variables — requestor name, dates, matter, and regulation — populate the response; missing values leave placeholders and the wrong timelines (GDPR 30-day vs CCPA 45-day)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the response.

Tools

1. Response Generator (scripts/response_generator.py)

Generate formatted legal responses from templates with variable substitution and escalation detection.

bash
python scripts/response_generator.py \
  --category dsr --sub-type acknowledgment \
  --var requestor_name="Jane Doe" \
  --var request_type="access" \
  --var request_date="2026-04-10"

python scripts/response_generator.py \
  --category nda --sub-type standard-form \
  --var counterparty="Acme Corp" \
  --var purpose="due diligence" --json

python scripts/response_generator.py \
  --category discovery --sub-type initial-notice \
  --var matter_name="Smith v. Corp" \
  --var custodians="Engineering,Sales"
2. Escalation Detector (scripts/escalation_detector.py)

Analyze inquiry text for escalation triggers and recommend routing.

bash
python scripts/escalation_detector.py \
  --text "We received a subpoena from the DOJ regarding our pricing practices"

python scripts/escalation_detector.py \
  --text "A reporter from the Wall Street Journal is asking about our data practices" --json

python scripts/escalation_detector.py \
  --category vendor \
  --text "The vendor is threatening litigation over the contract dispute"

Reference Guides

ReferencePurpose
references/response_templates.mdComplete templates for all 7 categories with sub-types
references/escalation_triggers.mdUniversal and category-specific escalation triggers

Workflows

Template Lifecycle
  1. Creation -- Draft response template for identified recurring inquiry type
  2. Review -- Legal counsel reviews template for accuracy, tone, and compliance
  3. Publication -- Template added to system with metadata, variables, and triggers
  4. Use -- Staff selects category/sub-type, fills variables, generates response
  5. Feedback -- Track usage and collect feedback on template effectiveness
  6. Update -- Revise templates based on feedback, legal changes, or policy updates
  7. Retirement -- Archive templates that are no longer applicable
Response Generation Workflow
  1. Classify Inquiry -- Determine category (DSR, NDA, subpoena, etc.) and sub-type
  2. Check Escalation -- Run escalation detector on inquiry text
  3. If Escalation Detected -- Stop; route to counsel with escalation report
  4. If No Escalation -- Generate response with appropriate template and variables
  5. Review & Send -- Review generated response before sending; adjust if needed

Response Categories

CategorySub-TypesDescription
Data Subject Requests (DSR)acknowledgment, verification, fulfillment, denial, extensionGDPR/CCPA data subject right requests
Discovery/Litigation Holdsinitial-notice, reminder, modification, releaseLitigation hold management
Privacy Inquiriescookies, data-sharing, children, transfersGeneral privacy questions
Vendor Legal Questionscontract-status, amendments, certifications, auditVendor/supplier legal matters
NDA Requestsstandard-form, counterparty-markup, decline, renewalNon-disclosure agreement lifecycle
Subpoena/Legal Processacknowledgment, objection, extension, complianceLegal process responses
Insurance Notificationsinitial-claim, supplemental-info, reservation-of-rightsInsurance claim management
DSR Sub-Types
Sub-TypeUse WhenKey Variables
acknowledgmentNew DSR receivedrequestor_name, request_type, request_date
verificationIdentity verification neededrequestor_name, verification_method
fulfillmentRequest completedrequestor_name, request_type, data_description
denialRequest denied with reasonrequestor_name, request_type, denial_reason
extensionNeed more timerequestor_name, request_type, extension_reason, new_deadline
Discovery/Litigation Hold Sub-Types
Sub-TypeUse WhenKey Variables
initial-noticeNew litigation hold issuedmatter_name, custodians, data_types
reminderPeriodic hold remindermatter_name, reminder_number
modificationHold scope changedmatter_name, modification_description
releaseHold liftedmatter_name, release_date

Escalation System

Universal Triggers (Always Escalate)
#TriggerWhy
1Potential or active litigationLegal exposure requires counsel assessment
2Regulatory investigation or inquiryRegulatory response requires strategic approach
3Government or law enforcement contactConstitutional and procedural rights at stake
4Binding legal commitment requestedCannot create legal obligations without counsel
5Criminal liability exposureRequires immediate counsel involvement
6Media attention or press inquiryReputational risk requires coordinated response
7Unprecedented or novel situationNo template exists; bespoke legal analysis needed
8Multi-jurisdictional conflictCross-border legal complexity requires expert analysis
Show full SKILL.md (431 more words)Show less
Escalation Response Protocol
  1. Stop -- Do not send any templated response
  2. Alert -- Notify designated counsel immediately
  3. Explain -- Provide escalation context with matched triggers
  4. Recommend -- Suggest routing based on trigger type
  5. Draft -- Mark any preliminary draft "FOR COUNSEL REVIEW ONLY"

Troubleshooting

ProblemCauseSolution
Missing variable in outputRequired variable not providedCheck template requirements; provide all required --var parameters
Wrong template selectedCategory/sub-type mismatchReview category descriptions; ensure sub-type matches inquiry type
False positive escalationCommon words matching trigger patternsProvide --category to use category-specific triggers; review matched triggers
False negative escalationInquiry text too vagueAdd more context to inquiry text; run both universal and category-specific checks
Template too genericUsing default valuesReplace all placeholder values with actual organization-specific details
Discovery hold sent to wrong custodiansCustodian list outdatedVerify custodian list against current employees and systems
Subpoena response not flaggedMissing category contextAlways use --category subpoena for legal process; subpoena category always escalates
Response tone inappropriateWrong audience contextSelect appropriate sub-type; customize tone per audience

Success Criteria

  • Response Time: Templated responses generated within 5 minutes vs. 30+ minutes manual drafting
  • Escalation Accuracy: 100% of genuine escalation triggers detected (zero false negatives on CRITICAL triggers)
  • Template Coverage: Templates cover 80%+ of recurring legal inquiry types
  • Consistency: All responses within a category use consistent language, tone, and legal caveats
  • Audit Trail: Every generated response logged with category, sub-type, date, and escalation status

Scope & Limitations

This skill covers:

  • Template-based response generation for 7 common legal inquiry categories
  • Escalation detection using keyword and pattern matching against known triggers
  • Variable substitution for organization-specific customization
  • Response metadata generation for audit trail purposes

This skill does NOT cover:

  • Legal advice or attorney-client privileged analysis
  • Automated sending of responses (generation only; human review required)
  • Contract drafting, negotiation, or legal document creation
  • Case management, docketing, or deadline tracking
  • Jurisdiction-specific legal compliance validation of response content

Anti-Patterns

Anti-PatternWhy It FailsBetter Approach
Sending templated response without reviewMay miss context-specific nuances; legal riskAlways review generated response before sending
Ignoring escalation triggersCritical matters mishandled; legal exposureRun escalation detector on every inquiry; treat all triggers seriously
Using templates for novel situationsTemplates assume standard scenarios; novel situations need bespoke analysisEscalate novel situations to counsel; create new template after resolution
Hardcoding organization details in templatesTemplates become non-portable; updates missedUse variable substitution; maintain variables in configuration
Skipping identity verification for DSRsGDPR/CCPA require verification before fulfillmentAlways send verification sub-type before fulfillment

Tool Reference

scripts/response_generator.py

Generate formatted legal responses with variable substitution.

usage: response_generator.py [-h] [--json]
                              --category {dsr,discovery,privacy,vendor,nda,subpoena,insurance}
                              --sub-type SUB_TYPE
                              [--var KEY=VALUE [KEY=VALUE ...]]

options:
  -h, --help            Show help message and exit
  --json                Output in JSON format
  --category            Response category
  --sub-type            Response sub-type within category
  --var                 Variable substitution as KEY=VALUE pairs
scripts/escalation_detector.py

Analyze inquiry text for escalation triggers.

usage: escalation_detector.py [-h] [--json]
                               --text TEXT
                               [--category {dsr,discovery,privacy,vendor,nda,subpoena,insurance}]

options:
  -h, --help            Show help message and exit
  --json                Output in JSON format
  --text                Inquiry text to analyze for escalation triggers
  --category            Optional category for category-specific trigger detection

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts, references) in legal/legal-canned-responses of borghei/Claude-Skills.

  • SKILL.md
  • references/escalation_triggers.md
  • references/response_templates.md
  • scripts/escalation_detector.py
  • scripts/response_generator.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

Legal Canned Responses next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Legal Canned Responses compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Canned Responses this skillborghei/Claude-Skills891—~3.1kAutomated safety check: PassMIT
Brand Product Knowledge Builderlimecloud/lime1.5k—~709Automated safety check: PassApache-2.0
Cc10x Guideromiluz13/cc10x165—~2.2kAutomated safety check: PassMIT
Yao Geo Intent Mineryaojingang/yao-geo-skills871—~500Automated safety check: PassMIT
Faq CollectorCherryHQ/cherry-studio53k—~154Automated safety check: PassAGPL-3.0
Eol Internal Enablementdeanpeters/Product-Manager-Skills7.2k—~3.1kAutomated safety check: PassCustom licence

Similar skills

  • 将品牌产品资料、规格参数、卖点证据、FAQ、价格权益、竞品区别和合规边界,整理成符合 Agent Knowledge v0.6 document-first 标准、可被 AI 安全调用的产品资料知识库。适用于用户要求“整理产品知识库”“沉淀产品 FAQ”“把品牌产品资料变成项目资料”“维护产品资料包”的场景。

    1.5k GitHub stars~709 tokensUpdated yesterday
    Sales & SupportAuto-check passed
  • Cc10x Guide

    romiluz13/cc10x

    Answers questions about cc10x itself — what it is, how to install and configure it, how the router, workflows, memory, and hooks operate, and how to troubleshoot.

    165 GitHub stars~2.2k tokensUpdated 3 days ago
    Sales & SupportAuto-check passed
  • Yao Geo Intent Miner

    yaojingang/yao-geo-skills

    A skill your agent uses when a user asks for GEO 意图拓词、AI 搜索意图挖掘、AI 搜索问题集、问题簇、追问链路、查询重写、内容选题库、FAQ 题库、监测 Prompt 库, or AI Intent Miner.

    871 GitHub stars~500 tokensUpdated 10 days ago
    Sales & SupportAuto-check passed
  • Faq Collector

    CherryHQ/cherry-studio

    将成功解决的用户问题收录到 FAQ 知识库。问题解决后自动判断是否收录。也可以在用户说"收录到 FAQ"、"记录这个问题"、"add to FAQ"时手动触发。

    53k GitHub stars~154 tokensUpdated today
    Sales & SupportAuto-check passed
  • Eol Internal Enablement

    deanpeters/Product-Manager-Skills

    Build the support FAQ, sales talking points, and objection handling teams need before an EOL announcement.

    7.2k GitHub stars~3.1k tokensUpdated 1 mo ago
    Sales & SupportAuto-check passed
  • Satisfaction Feedback

    Harryoung/efka

    Handle user satisfaction feedback. An agent skill from Harryoung/efka.

    104 GitHub stars~346 tokensUpdated 6 mo ago
    Sales & SupportAuto-check passed

More from borghei/Claude-Skills

All 354 skills in this repo
  • Agent Harness

    borghei/Claude-Skills

    Test and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets.

    891 GitHub stars~3.1k tokensUpdated 4 days ago
    Auto-check passed
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    891 GitHub stars~4.2k tokensUpdated 4 days ago
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    891 GitHub stars~3.4k tokensUpdated 4 days ago
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    891 GitHub stars~3.6k tokensUpdated 4 days ago
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    891 GitHub stars~3.4k tokensUpdated 4 days ago
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    891 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed

Questions about Legal Canned Responses

What does Legal Canned Responses do?

Generate templated responses for common legal inquiries with escalation detection. Legal Canned Responses is an agent skill from borghei/Claude-Skills. Generate templated responses for common legal inquiries with escalation detection.

When should I use Legal Canned Responses?

Legal Canned Responses fits situations like: drafting legal responses; tasks that involve Help center and FAQ content.

How do I install Legal Canned Responses in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill legal-canned-responses -a claude-code`. Or copy the skill folder (legal/legal-canned-responses in borghei/Claude-Skills) into .claude/skills/legal-canned-responses in your project. Claude Code loads it when a task matches its description.

How do I install Legal Canned Responses in Codex?

Run `npx skills add borghei/Claude-Skills --skill legal-canned-responses -a codex`. Or copy the skill folder (legal/legal-canned-responses in borghei/Claude-Skills) into .agents/skills/legal-canned-responses in your project. Codex loads it when a task matches its description.

Can I use Legal Canned Responses in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borghei/Claude-Skills --skill legal-canned-responses -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-canned-responses, .gemini/skills/legal-canned-responses, .github/skills/legal-canned-responses and .opencode/skills/legal-canned-responses in your project.

What does Legal Canned Responses need to run?

Going by SKILL.md and its folder, Legal Canned Responses needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Legal Canned Responses access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Legal Canned Responses safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Legal Canned Responses use?

Legal Canned Responses is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Legal Canned Responses use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.9k tokens, read only when the agent opens those files.

What are the alternatives to Legal Canned Responses?

Skills that share tags, products or a category with Legal Canned Responses: Brand Product Knowledge Builder (limecloud/lime, 1.5k stars), Cc10x Guide (romiluz13/cc10x, 165 stars), Yao Geo Intent Miner (yaojingang/yao-geo-skills, 871 stars) and Faq Collector (CherryHQ/cherry-studio, 53k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Canned Responses?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 891 GitHub stars. The repository holds 354 skills in this directory. The repository was last updated on October 7, 2026.

Source: borghei/Claude-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.