Token导航 LogoToken导航

Agent Skill · 研究检索

statute-analysis(法规分析)

statute-analysis 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

statute-analysis 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 58,252。

总安装 419周安装 18GitHub Stars 103下载 147核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:statute-analysis(法规分析)
来源仓库:https://github.com/borghei/claude-skills
仓库路径:skills/statute-analysis
安装命令:
npx skills add https://github.com/borghei/claude-skills --skill statute-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/borghei/claude-skills --skill statute-analysis

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

当前无详细功能描述,建议查看来源仓库获取完整说明。

来源仓库内路径:skills/statute-analysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/borghei/claude-skills --skill statute-analysis;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

statute-analysis 怎么安装?

在终端执行 npx skills add https://github.com/borghei/claude-skills --skill statute-analysis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

statute-analysis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

statute-analysis 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

statute-analysis 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

statute-analysis 用的人多吗?

公开数据是累计安装 419 次,近一周安装 18 次,下载 147 次,GitHub 103 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

statute-analysis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
statute-analysis

法规分析 · 本页

419103只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

⚠️ 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.

Statute Analysis

Production-ready framework for reading, interpreting, and applying statutes, regulations, and rules. Covers the full lifecycle from identifying the legal hierarchy through extracting actionable requirements and mapping implementation obligations.


Table of Contents


Legal Hierarchy

Understanding the source hierarchy is the foundation of statutory analysis.

SourceCreated ByAuthorityExample
ConstitutionSovereign/peopleSupremeU.S. Constitution, EU Treaties
StatuteLegislaturePrimary legislationGDPR, Clean Air Act, AI Act
RegulationExecutive agencyDelegated authorityFDA 21 CFR, FTC rules
RuleAgency or courtProcedural/interpretiveFederal Rules of Civil Procedure
GuidanceAgencyNon-binding, persuasiveFDA guidance documents, CNIL guides
Case lawCourtsBinding within jurisdictionSupreme Court precedent

Key principle: Higher sources override lower sources. Regulations cannot exceed statutory authority. Guidance cannot create new obligations not grounded in statute.


Preliminary Steps

Before interpreting any statutory provision, complete these checks:

  1. Verify currency and status -- Is this the current, in-force version? Check for amendments, repeals, or sunset clauses. Use official sources (government gazettes, EUR-Lex, congress.gov).
  2. Understand the regulatory ecosystem -- What regulations, rules, and guidance implement this statute? Map the full hierarchy.
  3. Browse the full structure -- Read the table of contents, definitions section, scope provisions, and transitional articles before diving into specific sections.
  4. Identify the definitions section -- Almost all statutes define key terms. These definitions override ordinary meaning.
  5. Check effective dates -- Different provisions may have different effective dates. Map the compliance timeline.
  6. Identify your role -- Statutes impose different obligations depending on the reader's role (e.g., "provider" vs "deployer" in the EU AI Act, "controller" vs "processor" in GDPR).

Tools

Statute Keyword Analyzer

Scans statute text for operative keywords and classifies obligations, permissions, conditions, and exemptions.

# Analyze a statute file
python scripts/statute_keyword_analyzer.py --input statute.txt

# Analyze with JSON output
python scripts/statute_keyword_analyzer.py --input regulation.txt --json

# Analyze inline text
python scripts/statute_keyword_analyzer.py --text "The controller shall implement appropriate technical measures..."

# Save analysis report
python scripts/statute_keyword_analyzer.py --input statute.txt --output analysis.json

Requirement Classifier

Classifies statutory requirements by type, implementation team, enforcement mechanism, and penalty.

# Classify requirements from a JSON list
python scripts/requirement_classifier.py --input requirements.json

# Classify with JSON output
python scripts/requirement_classifier.py --input requirements.json --json

# Classify inline requirement
python scripts/requirement_classifier.py --text "Controllers must provide data subjects with a privacy notice at the point of collection"

# Generate implementation matrix
python scripts/requirement_classifier.py --input requirements.json --output matrix.json

Core Interpretation Techniques

Definitions Analysis

Statutory definitions control meaning. Pay attention to the verb used:

VerbTypeMeaningExample
"means"ExhaustiveThe definition is complete; no other meaning applies"'Personal data' means any information relating to an identified or identifiable natural person"
"includes"IllustrativeThe definition provides examples but is not limited to them"'Processing' includes collection, recording, organization, structuring..."
"does not include"ExclusionExplicitly carves out items from scope"'Consumer' does not include a natural person acting in a commercial or employment context"
"refers to"PointerIncorporates an external definition"'Harmonised standard' refers to a European standard as defined in Regulation (EU) No 1025/2012"

Operative Keywords

KeywordClassificationLegal Effect
shallMandatoryCreates an obligation; must be done
mustMandatorySame as "shall" in modern drafting
mayPermissiveCreates permission; optional
may notProhibitiveCreates a prohibition
andConjunctiveAll listed items required
orDisjunctiveAny listed item sufficient
unlessExceptionNegates the rule when condition is met
exceptExceptionCarves out specific items from the rule
subject toConditionalRule applies but another provision modifies it
notwithstandingOverrideThis provision prevails over conflicting provisions
provided thatConditionAdds a requirement that must be satisfied
if...thenConditionalTrigger condition and consequence
uponTemporal triggerAction required when event occurs

Conjunctive vs Disjunctive Analysis

This distinction determines whether ALL conditions must be met or ANY single condition suffices.

PatternReadingPractical Impact
"A, B, and C"All three requiredMust satisfy every element
"A, B, or C"Any one sufficientSatisfy any single element
"A, B, and/or C"AmbiguousFlag for clarification; analyze context
"both A and B"Explicitly conjunctiveMust satisfy both
"either A or B"Explicitly disjunctiveSatisfy one
Serial comma ambiguityContext-dependentApply whole-act rule for consistency

Canons of Construction

See references/canons_of_construction.md for the complete 12-canon reference.

Quick Reference

CanonCore RuleWhen to Apply
General-Terms CanonGeneral terms get general meaningDefault interpretation
Expressio UniusExpressing one thing excludes othersSpecific lists without catchall
Whole-Act RuleInterpret provisions consistentlyApparent conflicts between sections
Consistent UsageSame term = same meaning throughoutTerm appears multiple times
Meaningful VariationDifferent terms = different meaningsSimilar but distinct terms used
Surplusage CanonEvery word has meaning; no redundancyTempted to treat words as surplus
Noscitur a SociisWords known by their associatesAmbiguous term in a list
Ejusdem GenerisGeneral follows specific = limited"...and other similar" patterns
Against IneffectivenessPrefer reading that gives effectTwo possible readings
Avoiding AbsurdityReject absurd outcomesLiteral reading produces nonsensical result
Remedial StatutesConstrue liberallyConsumer protection, safety statutes
Rule of LenityAmbiguity favors the regulated partyCriminal or penalty provisions

Interpretation Sources

When statutory text is ambiguous, consult sources in this order:

PrioritySourceWeightWhere to Find
1Statutory text itselfControllingOfficial gazette, codified law
2Definitions sectionControllingUsually first articles/sections
3Legislative purpose (recitals, preamble)StrongPreamble, "Whereas" clauses
4Canons of constructionStrongLegal treatises, case law
5Case law interpreting the provisionStrong-to-moderateCourt databases
6Agency regulations implementing statuteModerateAgency websites, CFR
7Agency guidance and FAQsPersuasive onlyAgency websites
8Legislative historyWeak (varies by jurisdiction)Congressional record, Hansard
9Academic commentaryPersuasive onlyLegal journals

Requirement Classification

Every statutory requirement maps to an implementation category:

TypeDescriptionTypical OwnerExample
DisclosureInformation must be provided to someoneLegal / CompliancePrivacy notice requirements
OperationalProcess or procedure must existOperations / ComplianceRecord-keeping obligations
TechnicalSystem capability or safeguard requiredEngineeringEncryption, access controls
UI/DesignUser interface must include specific elementsProduct / DesignConsent mechanisms, opt-out buttons
OrganizationalGovernance structure or role requiredManagement / HRAppointing a DPO, board oversight
DocumentationWritten records must be maintainedLegal / ComplianceImpact assessments, audit trails
ReportingInformation must be submitted to authorityLegal / ComplianceBreach notification, annual reports

Cross-Jurisdictional Analysis

When requirements from multiple jurisdictions apply:

  1. Map applicable jurisdictions -- Where are your users, your entity, and your data?
  2. Identify overlapping requirements -- Many frameworks share common obligations.
  3. Find the highest common denominator -- Design for the strictest requirement that satisfies all jurisdictions.
  4. Flag conflicts -- Where requirements genuinely conflict, document the conflict and seek legal advice.
  5. Check preemption -- Federal law may preempt state law; EU regulations may preempt member state law.

Enforcement Analysis

For each statutory requirement, assess enforcement risk:

FactorAssessment Questions
Enforcement authorityWhich agency enforces? How active are they?
Penalty typesCivil fines, criminal penalties, administrative sanctions?
Penalty severityFixed amounts, percentage of turnover, per-violation?
Cure periodsIs there a right to cure before penalties apply?
Private right of actionCan individuals sue for violations?
Enforcement historyHas this provision been actively enforced?
Regulatory guidanceHas the agency clarified enforcement priorities?

Reference Guides

GuidePathDescription
Canons of Constructionreferences/canons_of_construction.md12 canons with definitions, examples, and misapplication warnings
Statutory Structurereferences/statutory_structure.mdHow statutes are organized, effective dates, preemption, enforcement

Workflows

Workflow 1: First Reading of a New Statute

  1. Browse the full table of contents and structure.
  2. Read the definitions section and scope provisions.
  3. Check effective dates and transitional provisions.
  4. Identify your role under the statute.
  5. Run scripts/statute_keyword_analyzer.py on the full text.
  6. Review the obligation/permission/exception map.
  7. Identify provisions that apply to your role.
  8. Validation: Definitions cataloged, role identified, key obligations listed.

Workflow 2: Requirement Extraction and Classification

  1. Extract all provisions containing "shall," "must," or mandatory language.
  2. For each requirement, identify: who (subject), what (action), when (trigger/deadline), how (standard).
  3. Run scripts/requirement_classifier.py on the extracted requirements.
  4. Review the implementation matrix.
  5. Assign each requirement to an implementation team.
  6. Prioritize by enforcement risk and deadline.
  7. Validation: Every mandatory provision classified, assigned, and prioritized.

Workflow 3: Cross-Reference Resolution

  1. Identify all cross-references in the target provision ("subject to Article X," "as defined in Section Y").
  2. Read each referenced provision in full.
  3. Determine whether the cross-reference modifies, limits, or supplements the target provision.
  4. Check for circular references or chains (A references B which references C).
  5. Document the complete picture -- the target provision as modified by all cross-references.
  6. Validation: All cross-references resolved; no orphan references.

Troubleshooting

ProblemLikely CauseResolution
Term not defined in statuteLegislature used ordinary meaningApply general-terms canon; check case law for judicial definitions
"And/or" ambiguityDrafting imprecisionCheck legislative history; apply whole-act rule; flag for legal review
Conflicting provisionsLater provision may override earlierCheck for "notwithstanding" clauses; apply later-in-time rule
Undefined thresholdDelegated to regulationCheck implementing regulations and agency guidance
Provision seems to have no effectMay be transitional or placeholderCheck effective dates and amendment history
Cross-reference to repealed sectionStatute not updated after amendmentCheck saving clauses; apply presumption against ineffectiveness

Success Criteria

CriterionTarget
All defined terms cataloged100% of definitions section mapped
Obligations extractedEvery "shall/must" provision identified
Requirements classifiedEach requirement has type, owner, enforcement, and priority
Cross-references resolvedNo unresolved references remain
Enforcement risk assessedEvery material obligation has enforcement analysis
Implementation matrix completeRequirements mapped to teams with timelines

Scope & Limitations

In scope: Reading and interpreting statutory text, extracting requirements, classifying obligations, applying canons of construction, mapping enforcement risk.

Out of scope: Providing legal advice, predicting court outcomes, drafting legislation, interpreting case law holdings, constitutional analysis.

Disclaimer: This skill provides a structured methodology for statutory analysis. It does not constitute legal advice. Always consult qualified legal counsel for binding interpretations.


Anti-Patterns

Anti-PatternWhy It FailsBetter Approach
Reading a section in isolationStatutes are interconnected; isolated reading misses cross-references, definitions, and scope limitationsAlways read definitions, scope, and cross-referenced provisions before interpreting
Treating guidance as lawAgency guidance is non-binding and can change; building compliance solely on guidance creates riskUse guidance to inform interpretation but anchor compliance to statutory text
Ignoring "what the statute doesn't say"Silence can mean permission, delegation, or an oversight; assuming the statute covers everything leads to compliance gapsAffirmatively check: does the statute address this scenario? If not, analyze why and what fills the gap
Applying one jurisdiction's interpretation to another"Personal data" in GDPR is not identical to "personal information" in CCPA; cross-pollinating definitions creates errorsAnalyze each statute independently using its own definitions and interpretive framework
Skipping the definitions sectionStatutory definitions override ordinary meaning; missing them leads to fundamental misreadingsAlways read the definitions section first, before any substantive analysis

Tool Reference

ToolInputOutputUse Case
statute_keyword_analyzer.pyStatute text file or inline textObligation/permission/exception mapFirst pass analysis of any legislative text
requirement_classifier.pyList of requirements (text or JSON)Implementation matrix with types, teams, enforcementConverting statutory obligations to actionable implementation tasks

平台分布

Codex

36.64%
按下载量换算54

Claude

29.59%
按下载量换算43

Cursor

19.34%
按下载量换算28

Gemini CLI

8.83%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills