Token导航 LogoToken导航

Agent Skill · 研究检索

ring%3aregulatory-templates(Ring%3a 监管模板)

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

ring%3aregulatory-templates 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 45,550。

总安装 840周安装 34GitHub Stars 180下载 264核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ring%3aregulatory-templates(Ring%3a 监管模板)
来源仓库:https://github.com/lerianstudio/ring
仓库路径:skills/ring%3Aregulatory-templates
安装命令:
npx skills add https://github.com/lerianstudio/ring --skill ring:regulatory-templates
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:regulatory-templates

这个 Skill 是做什么的

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

ring%3aregulatory-templates 用于查找、检索和筛选相关信息。它适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或场景快速定位内容。可通过 npx skills add 命令从 GitHub 仓库安装,具体用法需结合原始 README。

安装前建议评估权限、维护状态及是否触发网络或系统调用。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/ring%3Aregulatory-templates

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ring%3aregulatory-templates 怎么安装?

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

ring%3aregulatory-templates 支持哪些 AI 工具?

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

ring%3aregulatory-templates 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ring%3aregulatory-templates 是免费的吗?

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

ring%3aregulatory-templates 用的人多吗?

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

ring%3aregulatory-templates 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。

研究检索类 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调用外部服务未明确有提醒
ring%3aregulatory-templates

Ring%3a 监管模板 · 本页

840180接触敏感数据未明确未收录

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

SKILL.md 原文

Regulatory Templates - Orchestrator

Overview

This skill orchestrates the regulatory template creation workflow through modular sub-skills, managing a 3-gate sequential validation process with dynamic context passing between gates.

Architecture: Modular design with dedicated sub-skills for each phase:

  • regulatory-templates-setup - Initial configuration and selection
  • regulatory-templates-gate1 - Regulatory compliance analysis and field mapping
  • regulatory-templates-gate2 - Technical validation of mappings
  • regulatory-templates-gate3 - Template file generation (.tpl)

Template Specifications: All template specifications are dynamically loaded within gates from centralized configurations. Templates are organized by regulatory authority with cascading selection:

BACEN (Banco Central):

  • CADOC: 4010 (Cadastro), 4016 (Crédito), 4111 (Câmbio)
  • APIX: 001 (Dados Cadastrais), 002 (Contas e Transações)

RFB (Receita Federal):

  • e-Financeira: evtCadDeclarante, evtAberturaeFinanceira, evtFechamentoeFinanceira, evtMovOpFin, evtMovPP, evtMovOpFinAnual
  • DIMP: v10 (Movimentação Patrimonial)

REQUIRED AGENTS: The sub-skills dispatch specialized agents:

  • finops-analyzer - For Gates 1-2 and Discussion (regulatory analysis and validation)
  • finops-automation - For Gate 3 (template file generation)

Foundational Principle

Brazilian regulatory compliance (BACEN, RFB) has zero margin for error.

This isn't hyperbole:

  • BACEN penalties for incorrect submissions: R$10,000 - R$500,000 + license sanctions
  • RFB penalties for e-Financeira errors: Criminal liability for false declarations
  • Template errors are discovered during audits, often months after submission
  • "We'll fix it later" is impossible - submissions are final

This workflow exists because:

  1. Human confidence without validation = optimism bias (proven by TDD research)
  2. "Mostly correct" regulatory submissions = rejected submissions + penalties
  3. Shortcuts under pressure = exactly when errors are most likely
  4. Each gate prevents specific failure modes discovered in production

The 3-gate architecture is not bureaucracy - it's risk management.

Every section that seems "rigid" or "redundant" exists because someone, somewhere, cut that corner and caused a regulatory incident.

Follow this workflow exactly. Your professional reputation depends on it.


When to Use

Use this skill when:

  • User requests mapping and creation of Brazilian regulatory templates
  • BACEN CADOCs (4010, 4016, 4111), e-Financeira, DIMP, APIX
  • Full automation from analysis to template creation

Symptoms triggering this skill:

  • "Create CADOC 4010 template"
  • "Map e-Financeira to Midaz and set up in Reporter"
  • "Automate DIMP template creation"

When NOT to use:

  • Non-Brazilian regulations
  • Analysis-only without template creation
  • Templates already exist and just need updates

NO EXCEPTIONS - Read This First

This workflow has ZERO exceptions. Brazilian regulatory compliance (BACEN, RFB) has zero margin for error.

Common Pressures You Must Resist

PressureYour ThoughtReality
Deadline"Skip Gate 2, we're confident"Gate 1 analysis ≠ Gate 2 validation. Confidence without verification = optimism bias
Authority"Manager says skip it"Manager authority doesn't override regulatory requirements. Workflow protects both of you
Fatigue"Manual creation is faster"Fatigue makes errors MORE likely. Automation doesn't get tired
Economic"Optional fields have no fines"Template is reusable. Skipping fields = technical debt + future rework
Sunk Cost"Reuse existing template"70% overlap = 30% different. Regulatory work doesn't tolerate "mostly correct"
Pragmatism"Setup is ceremony"Setup initializes context. Skipping = silent assumptions
Efficiency"Fix critical only"Gate 2 PASS criteria: ALL uncertainties resolved, not just critical

Emergency Scenarios

"Production is down, need template NOW" → Production issues don't override regulatory compliance. Fix production differently.

"CEO directive to ship immediately" → CEO authority doesn't override BACEN requirements. Escalate risk in writing.

"Client contract requires delivery today" → Contract penalties < regulatory penalties. Renegotiate delivery, don't skip validation.

"Tool/agent is unavailable" → Wait for tools or escalate. Manual workarounds bypass validation layers.

The Bottom Line

Shortcuts in regulatory templates = career-ending mistakes.

BACEN and RFB submissions are final. You cannot "patch next sprint." Every gate exists because regulatory compliance has zero tolerance for "mostly correct."

If you're tempted to skip ANY part of this workflow, stop and ask yourself: Am I willing to stake my professional reputation on this shortcut?


Rationalization Table - Know the Excuses

Every rationalization below has been used to justify skipping workflow steps. ALL are invalid.

ExcuseWhy It's WrongCorrect Response
"Gate 2 is redundant when Gate 1 is complete"Gate 1 = analysis, Gate 2 = validation. Different purposes. Validation catches analysis errorsRun Gate 2 completely
"Manual creation is pragmatic"Manual bypasses validation layer. Gate 3 agent validates against Gate 2 reportUse automation agent
"Optional fields don't affect compliance"Overall confidence includes all fields. Skipping 36% fails PASS criteriaMap all fields
"70% overlap means we can copy"30% difference contains critical regulatory fields. Similarity ≠ simplicityRun full workflow
"Setup is bureaucratic ceremony"Setup initializes context for Gates 1-3. Skipping creates silent assumptionsRun setup completely
"Fix critical issues only"Gate 2 PASS: ALL uncertainties resolved. Medium/low issues cascade to mandatory failuresResolve all uncertainties
"We're experienced, simplified workflow"Experience doesn't exempt you from validation. Regulatory work requires processFollow full workflow
"Following spirit not letter"Regulatory compliance requires BOTH. Skipping steps violates spirit AND letterProcess IS the spirit
"Being pragmatic vs dogmatic"Process exists because pragmatism failed. Brazilian regulatory penalties are severeRigor is pragmatism
"Tool is too rigid for real-world"Rigidity prevents errors. Real-world includes regulatory audits and penaltiesRigidity is protection

If You Find Yourself Making These Excuses

STOP. You are rationalizing.

The workflow exists specifically to prevent these exact thoughts from leading to errors. If the workflow seems "too rigid," that's evidence it's working - preventing you from shortcuts that seem reasonable but create risk.


Workflow Overview

Flow: Setup → Gate 1 → Gate 2 → Gate 3 → Template Created ✅

PhaseSub-skillPurposeAgent
Setupregulatory-templates-setupTemplate selection, context init—
Gate 1regulatory-templates-gate1Regulatory analysis, field mappingfinops-analyzer
Gate 2regulatory-templates-gate2Validate mappings, test transformationsfinops-analyzer
Gate 3regulatory-templates-gate3Generate.tpl template filefinops-automation

Orchestration Process

Step 1: Initialize TodoWrite with tasks (setup, gate1, gate2, gate3, + optional: gate_test, contribution)

Steps 2–5: Execute mandatory gates using Skill tool:

StepSkillOn PASSOn FAIL
2regulatory-templates-setupStore context → Gate 1Fix selection issues
3regulatory-templates-gate1Store spec report + auto-saved dict → Gate 2Address critical gaps, retry
4regulatory-templates-gate2Store finalized report → Gate 3Resolve uncertainties, retry
5regulatory-templates-gate3Template complete → Gate Teste (if configured)401=refresh token, 500/503=wait+retry

Steps 6–7 (optional): Execute only when conditions are met:

StepGateConditionOn PASSOn FAIL
6Gate Testereporter_dev_url set AND user opts inMark gate_test_passed: true → Contribution GateFeedback → retry Gate 3
7Contribution Gateis_new_template: true AND user opts inPR opened, URL reportedProvide manual instructions

Context flows in memory - no intermediate files created


Gate Teste — Validação no Ambiente Dev (Opcional)

Triggered when: reporter_dev_url is set in context (configured during Setup)

Process:

  1. Check if reporter_dev_url is available in context
  2. If available → Ask: "Quer validar o template gerado no ambiente de desenvolvimento agora?"
  3. If YES:

- Submit the generated .tpl to reporter_dev_url with available test data - Display the rendered output to the user - Ask: "O output está correto? Deseja fazer algum ajuste?" - If adjustments needed: return feedback to Gate 3 with specific corrections → re-run Gate 3 → re-run Gate Teste - If correct: mark gate_test_passed: true, proceed

  1. If NO or reporter_dev_url not configured: mark gate_test_passed: skipped, proceed

Output context addition: gate_test: {passed: true|false|skipped}


Contribution Gate — PR para o Ring (Opcional)

Triggered when: is_new_template: true is in context (set during Setup when user selects "Novo template")

Process:

  1. Ask: "Quer contribuir este template de volta para a comunidade Ring? Isso abre um PR público no repositório LerianStudio/ring."
  2. If NO:

- Inform: "Template e dicionário salvos localmente. Disponíveis para uso imediato." - Mark contribution: skipped

  1. If YES:

- Verify user has GitHub token configured (via environment or user input) - Fork LerianStudio/ring to user's GitHub account (if not already forked) - Create branch: feat/regulatory-template-{template_code_lower} (ex: feat/regulatory-template-cadoc4030) - Prepare the following files locally: - New dictionary YAML: finops-team/docs/regulatory/templates/{authority}/{category}/{code}/dictionary.yaml - Updated registry.yaml with new template entry - Generated .tpl file in appropriate directory - Commit signing is required. A GitHub PAT token authenticates API calls but does NOT produce a cryptographically signed commit. The user must sign the commit themselves using one of: - GPG key: git commit -S -m "..." - SSH signing key (configured in ~/.gitconfig with gpg.format=ssh) - Provide the user with the exact commit command: git checkout -b feat/regulatory-template-{template_code_lower} # Files are ready at the paths listed above git add finops-team/docs/regulatory/templates/{authority}/{category}/{code}/dictionary.yaml git add finops-team/docs/regulatory/templates/registry.yaml git add finops-team/docs/regulatory/templates/{authority}/{category}/{code}/*.tpl git commit -S -m "feat(finops): add {Template Name} regulatory template" gh pr create --title "feat(finops): add {Template Name} regulatory template" \ --body "..." - Open PR to LerianStudio/ring with auto-generated PR body: feat(finops): add {Template Name} regulatory template - Authority: {BACEN|RFB|other} - Format: {XML|TXT|HTML} - Fields mapped: {N} ({HIGH}H / {MEDIUM}M / {LOW}L confidence) - Dictionary: auto-generated via ring:regulatory-templates workflow Contributed via ring:finops-team regulatory-templates workflow - Report PR URL: "✅ PR aberto: {url}" - Mark contribution: {pr_url: "{url}", status: "open"}

  1. If user does not have GPG/SSH signing configured:

- Explain: "Commit assinado requer chave GPG ou SSH configurada no git. Veja: https://docs.github.com/authentication/managing-commit-signature-verification" - Provide alternative: open a draft PR without signed commit and mark it for manual signing

🔴 CRITICAL — Commit signing:

  • A GitHub PAT authenticates API calls but does NOT cryptographically sign commits
  • Signed commits REQUIRE the user's GPG key (git commit -S) or SSH signing key
  • NEVER use agent credentials for commits
  • The contribution must be attributed to and signed by the human contributor
  • If user cannot sign → provide draft PR instructions and explain signing requirement

BLOCKER: If fork or branch creation fails → provide manual git instructions. Do NOT attempt workarounds using agent credentials.


Context Management - Report-Driven Flow

Context accumulates through gates (each adds, never overwrites):

AfterContext Additions
Setuptemplate_selected, template_code, authority, deadline
Gate 1specification_report (template_info, fields, transformations, validations, structure)
Gate 2finalized_report (validated, uncertainties_resolved, all_fields_mapped, ready_for_implementation)
Gate 3gate3 (template_file, filename, path, ready_for_use, report_compliance: 100%)

Template Specifications Management

  • Gates load specs dynamically from centralized config
  • Add new templates by adding specifications only (no new skills)
  • Pattern: loadTemplateSpecifications(templateName) for field mappings, validation rules, format specs

State Tracking

Output after EACH sub-skill: SKILL: regulatory-templates | PHASE: {phase} | TEMPLATE: {template} | GATES: {n}/3 | CURRENT: {action} | NEXT: {next} | BLOCKERS: {blockers}


Error Handling

ErrorAction
Gate failure (retriable)Fix issues → retry gate
Gate failure (non-retriable)Escalate to user
Gate 3: 401Refresh token → retry
Gate 3: 500/503Wait 2 min → retry

Coordination Rules

  1. Sequential execution (1→2→3)
  2. Context accumulates (never overwrites)
  3. Failure stops progress
  4. State tracking after each sub-skill
  5. TodoWrite updates immediately
  6. NO intermediate files (memory only)
  7. SINGLE output file (.tpl in Gate 3)

Red Flags - STOP Immediately

If you catch yourself thinking ANY of these, STOP and re-read the NO EXCEPTIONS section:

Skip Patterns

  • "Skip Gate X" (any variation)
  • "Run Gates out of order"
  • "Parallel gates for speed"
  • "Simplified workflow for experienced teams"
  • "Emergency override protocol"

Manual Workarounds

  • "Create template manually"
  • "Copy existing template"
  • "Manual validation is sufficient"
  • "I'll verify it myself"

Partial Compliance

  • "Fix critical only"
  • "Map mandatory fields only"
  • "Skip setup, we already know"
  • "Lower pass threshold"

Justification Language

  • "Being pragmatic"
  • "Following spirit not letter"
  • "Real-world flexibility"
  • "Process over outcome"
  • "Dogmatic adherence"
  • "We're confident"
  • "Manager approved"

If You See These Red Flags

  1. Acknowledge the rationalization ("I'm trying to skip Gate 2")
  2. Read the NO EXCEPTIONS section (understand why it's required)
  3. Follow the workflow completely (no modifications)
  4. Document the pressure (for future skill improvement)

The workflow is non-negotiable. Regulatory compliance doesn't have "reasonable exceptions."



Severity Calibration

MUST classify workflow issues using these severity levels:

SeverityDefinitionExamplesWorkflow Impact
CRITICALBLOCKS workflow completion OR risks regulatory violation- Gate fails with no recovery path- Context lost between gates- Agent unavailable- Mandatory field unmapped after all gatesHARD BLOCK - Cannot produce compliant template
HIGHREQUIRES intervention for workflow to succeed- Gate 1 returns INCOMPLETE- Gate 2 fails validation threshold- Gate 3 syntax errors- Context incomplete for next gateMUST resolve - retry gate or escalate
MEDIUMSHOULD address for optimal workflow- Low confidence mappings passing gates- Optional fields skipped- Minor validation warnings- Suboptimal gate performanceSHOULD address - document if deferred
LOWMinor improvements possible- State tracking verbosity- Context field ordering- Documentation improvementsOPTIONAL - note in completion report

Classification Rules:

CRITICAL = ANY of:

  • Any gate fails with non-retriable error
  • finops-analyzer or finops-automation agents unavailable
  • Template cannot be produced after all retry attempts
  • Regulatory mandatory field missing from final template

HIGH = ANY of:

  • Gate returns INCOMPLETE or FAILED (retriable)
  • Context missing required fields for next gate
  • Gate 3 produces invalid template syntax
  • 10% of mandatory fields at LOW confidence

Blocker Criteria - STOP and Report

You MUST distinguish between decisions you CAN make vs those requiring escalation.

Decision TypeExamplesAction
Can DecideGate retry strategy, context field ordering, state tracking formatProceed with workflow
MUST EscalateAgent unavailable, non-retriable errors, regulatory spec ambiguitySTOP and ask for clarification
CANNOT OverrideSequential gate execution, context accumulation, gate PASS criteria, no intermediate filesHARD BLOCK - Workflow requires this

HARD GATES (STOP immediately):

  1. Agent Unavailable: finops-analyzer or finops-automation not accessible
  2. Gate Non-Retriable Failure: Error cannot be fixed by retry
  3. Context Loss: Previous gate results not available
  4. Specification Ambiguity: Regulatory requirement unclear, cannot map

Escalation Message Template:

⛔ **WORKFLOW BLOCKER - Cannot Continue**

**Issue:** [Specific blocker]
**Gate:** [Current gate that failed]
**Impact:** [What cannot be completed]
**Required:** [What needs resolution]

**Cannot proceed to next gate until resolved.**

Cannot Be Overridden

NON-NEGOTIABLE requirements (no exceptions, no user override):

RequirementWhy NON-NEGOTIABLEVerification
Sequential Gate Execution (1→2→3)Each gate depends on previous gate outputgate_order == [1, 2, 3]
Gate PASS Required Before NextFailed gates produce invalid input for nextcurrent_gate.status == PASSED
Context Accumulation (Never Overwrite)Previous gate data required by later gatescontext.has(all_previous_gate_data)
No Intermediate FilesMemory-only context prevents file corruptionintermediate_files.count == 0
Single Output File (.tpl)Gate 3 produces final artifact onlyoutput_files == [.tpl,.tpl.docs]

User CANNOT:

  • Run gates out of order ("skip to Gate 3" = NO)
  • Proceed without PASS ("good enough to continue" = NO)
  • Replace context ("use different mappings" = NO - run full workflow)
  • Create intermediate files ("save for debugging" = NO)
  • Manually create template ("faster than Gate 3" = NO)

Quick Reference

Sub-skillPurposeInputOutput
regulatory-templates-setupInitial configurationUser selectionsBase context
regulatory-templates-gate1Regulatory analysisBase contextField mappings, spec report
regulatory-templates-gate2Technical validationContext + Gate 1Validated mappings, rules
regulatory-templates-gate3Template creationContext + Gates 1-2.tpl file

Checklist

Before: Sub-skills exist, agents available, template selected, URLs configured After each gate: Result captured, context updated, TodoWrite updated, state tracked After completion: Template created, verified, user notified

平台分布

Codex

36.39%
按下载量换算96

Claude

30.09%
按下载量换算79

Cursor

18.64%
按下载量换算49

Gemini CLI

8.85%
按下载量换算23

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills