Agent skill

Legal Compliance Search

by Serein-81 in Serein-81/financial_rag

Looks up current company registration rules, industry licences and compliance obligations in China through live web search, tailored to the business profile.

No licenceAuto-check: notesLegal & Compliance

Install Legal Compliance Search

skills CLI
$ npx skills add Serein-81/financial_rag --skill legal-compliance-search -a claude-code

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

GitHub CLI
$ gh skill install Serein-81/financial_rag legal-compliance-search --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/Serein-81/financial_rag.git skills-src && mkdir -p .claude/skills && cp -r skills-src/rag_backend/skills/legal/legal-compliance-search .claude/skills/legal-compliance-search && 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-compliance-search
GitHub stars
148
Token cost
~1.6k tokens
SKILL.md length
576 words
Files
3 (incl. scripts, references)
Skills in repo
7
Repo updated
First seen
Licence
None found

At a glance

Looks up current company registration rules, industry licences and compliance obligations in China through live web search, tailored to the business profile.

  • Works in 6 steps: Understand Business Context → Search Regulations via Web → Cross-Reference with Internal Knowledge… → …
  • Checking which licences a new company needs in a given industry and city
  • SKILL.md covers Overview, Workflow, Error Handling and Gotchas
  • Runs Python scripts from its folder

What it does

The agent starts by asking about the business: company type (for example LLC, WFOE or sole proprietor), industry, and the province and city of registration. Company size, business scope, registration stage and any foreign shareholders are optional extras that sharpen the results.

It then runs several targeted web searches through the Tavily search tool, covering registration requirements, industry licences and compliance obligations, and cross-references what it finds against an internal policy knowledge base through an Enterprise Policy Matcher tool. The skill ships a Python script, search_compliance.py, and a reference file on registration requirements. It needs python3 and a Tavily API key.

When your agent uses it

  • Checking which licences a new company needs in a given industry and city
  • Preparing a compliance checklist before registering a company
  • Looking up recent regulatory changes that affect an existing business

Example prompts

  • “What registration requirements apply to a WFOE in the technology sector in Shanghai?”
  • “Find the licences a food and beverage LLC in Shenzhen needs before it opens.”
  • “Give me a compliance checklist for changing the business scope of our Beijing company.”

Requirements

  • python3
  • A Tavily API key (TAVILY_API_KEY) configured in settings
  • Compatibility (from SKILL.md): Requires: python3 Depends on: Tavily web search API (TAVILY_API_KEY configured in settings)
  • Pre-approved tools (allowed-tools): Bash, Read, Write

Workflow steps

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

  1. Understand Business Context
  2. Search Regulations via Web
  3. Cross-Reference with Internal Knowledge Base
  4. Match Against Business Profile
  5. Present Findings
  6. Caveats and Next Steps

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    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.

  • Compatibility

    Requires: python3 Depends on: Tavily web search API (TAVILY_API_KEY configured in settings)

    From compatibility in the SKILL.md frontmatter.

Context cost

Legal Compliance Search loads about 1.6k tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 93 tokens; SKILL.md has 576 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 576 words (~1,593 tokens).

“Searches for current legal and regulatory compliance information using real-time web search. Results include company registration requirements, industry licenses, and compliance obligations specific to the user's business profile.”

— opening of SKILL.md by Serein-81
name
legal-compliance-search
allowed-tools
Bash, Read, Write
compatibility
Requires: python3 Depends on: Tavily web search API (TAVILY_API_KEY configured in settings)
when_to_use
Activate when the user asks about legal/regulatory compliance, company registration requirements, industry-specific licensing, policy compliance, or…
metadata.author
internal-legal-team
metadata.version
2.0
metadata.domain
legal

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts, references) in rag_backend/skills/legal/legal-compliance-search of Serein-81/financial_rag.

  • SKILL.md
  • references/registration_requirements.md
  • scripts/search_compliance.py

Open the folder on GitHubat commit 94b16cd

Compare with similar skills

Legal Compliance Search 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 Compliance Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Compliance Search this skillSerein-81/financial_rag148—~1.6kAutomated safety check: NotesNone
HIPAA Pre-Deployment Compliance Checkmaziyarpanahi/openmed5.5k—~2kAutomated safety check: PassApache-2.0
Hipaa ComplianceSushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~2.3kAutomated safety check: PassMIT
ISO Standards Readiness EvidenceK-Dense-AI/scientific-agent-skills48k1 repos~4.6kAutomated safety check: NotesMIT
Iso42001Sushegaad/Claude-Skills-Governance-Risk-and-Compliance9461 repos~3.7kAutomated safety check: PassMIT
Ad Compliance Reviewzh-xx/legal-assistant-skills174—~1.2kAutomated safety check: PassApache-2.0

Similar skills

  • Walks a data pipeline against the HIPAA Privacy and Security Rule checklist and produces a gap report before it processes patient data.

    5.5k GitHub stars~2k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Hipaa Compliance

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert HIPAA compliance assistant for healthcare and software contexts.

    946 GitHub starsUsed in 1 repo~2.3k tokens
    Legal & ComplianceAuto-check passed
  • ISO Standards Readiness Evidence

    K-Dense-AI/scientific-agent-skills

    Organizes scope, controlled documents, risk files and traceability into draft evidence for human review against ISO 13485, 14971, 17025 and 15189.

    48k GitHub starsUsed in 1 repo~4.6k tokens
    Legal & ComplianceAuto-check: notes
  • Iso42001

    Sushegaad/Claude-Skills-Governance-Risk-and-Compliance

    Expert ISO 42001 AI Management System (AIMS) compliance advisor.

    946 GitHub starsUsed in 1 repo~3.7k tokens
    Legal & ComplianceAuto-check passed
  • Ad Compliance Review

    zh-xx/legal-assistant-skills

    广告合规审核技能,用于审核广告素材是否符合中国广告法及相关法规。适用场景:(1) 用户提交广告文案、广告素材要求合规审核时;(2) 用户提到"广告审核""广告合规""广告法审查"等关键词时;(3) 用户要求检查广告内容是否存在违法违规风险时;(4) 用户提交房地产、食品、医疗、药品、互联网等行业广告要求专项审核时。审核依据涵盖《广告法》《反不正当竞争法》及行业专项法规。

    174 GitHub stars~1.2k tokensUpdated 5 mo ago
    Legal & ComplianceAuto-check passed
  • Ca Policy Investigation

    SCStelz/security-investigator

    A skill your agent uses when asked to investigate Conditional Access policy changes, sign-in failures related to CA policies (error codes 53000, 50074, 530032), or suspected policy…

    249 GitHub stars~3.8k tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed

More from Serein-81/financial_rag

  • Enterprise Tax Profile Matching

    Serein-81/financial_rag

    Builds a six-dimension profile of a company and matches it against tax policies to find applicable incentives, obligations, risks and optimization options.

    148 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Financial Data Entry

    Serein-81/financial_rag

    Guides entry of a single financial record by collecting fiscal-year figures, validating them with a script and confirming before submitting to the financial-data API.

    148 GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check: notes
  • Tax Law Research

    Serein-81/financial_rag

    Searches current Chinese tax laws, rates and policy changes with Tavily web search, prioritizing government sources and flagging outdated or conflicting results.

    148 GitHub stars~997 tokensUpdated 4 mo ago
    Auto-check: notes
  • Policy Crawl Pipeline

    Serein-81/financial_rag

    Guides a policy notification agent through crawling government policy sources, saving them locally, matching them to enterprise profiles and generating notifications.

    148 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check: notes
  • Chinese Corporate Income Tax Check

    Serein-81/financial_rag

    Calculates China's corporate income tax with automatic preferential-rate detection for small or high-tech enterprises, then checks compliance.

    148 GitHub stars~787 tokensUpdated 4 mo ago
    Auto-check: notes
  • VAT Calculation

    Serein-81/financial_rag

    Calculates value-added tax from a tax-inclusive sales amount, VAT rate and input tax using a calculator tool, with risk checks and filing suggestions.

    148 GitHub stars~894 tokensUpdated 4 mo ago
    Auto-check: notes

Works with

Questions about Legal Compliance Search

What does Legal Compliance Search do?

Looks up current company registration rules, industry licences and compliance obligations in China through live web search, tailored to the business profile. The agent starts by asking about the business: company type (for example LLC, WFOE or sole proprietor), industry, and the province and city of registration. Company size, business scope, registration stage and any foreign shareholders are optional extras that sharpen the results.

When should I use Legal Compliance Search?

Legal Compliance Search fits situations like: checking which licences a new company needs in a given industry and city; preparing a compliance checklist before registering a company; looking up recent regulatory changes that affect an existing business.

How do I install Legal Compliance Search in Claude Code?

Run `npx skills add Serein-81/financial_rag --skill legal-compliance-search -a claude-code`. Or copy the skill folder (rag_backend/skills/legal/legal-compliance-search in Serein-81/financial_rag) into .claude/skills/legal-compliance-search in your project. Claude Code loads it when a task matches its description.

How do I install Legal Compliance Search in Codex?

Run `npx skills add Serein-81/financial_rag --skill legal-compliance-search -a codex`. Or copy the skill folder (rag_backend/skills/legal/legal-compliance-search in Serein-81/financial_rag) into .agents/skills/legal-compliance-search in your project. Codex loads it when a task matches its description.

Can I use Legal Compliance Search 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 Serein-81/financial_rag --skill legal-compliance-search -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-compliance-search, .gemini/skills/legal-compliance-search, .github/skills/legal-compliance-search and .opencode/skills/legal-compliance-search in your project.

What does Legal Compliance Search need to run?

Going by SKILL.md and its folder, Legal Compliance Search needs Python for the scripts in its folder. Our summary lists: python3; A Tavily API key (TAVILY_API_KEY) configured in settings. Its frontmatter pre-approves these tools: Bash, Read, Write. Compatibility (from SKILL.md): Requires: python3 Depends on: Tavily web search API (TAVILY_API_KEY configured in settings) .

Does Legal Compliance Search 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 Compliance Search safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. 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 Compliance Search use?

No licence was found for Legal Compliance Search or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Legal Compliance Search use?

About 1.6k tokens (SKILL.md is roughly 6.4k 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 422 tokens, read only when the agent opens those files.

What are the alternatives to Legal Compliance Search?

Skills that share tags, products or a category with Legal Compliance Search: HIPAA Pre-Deployment Compliance Check (maziyarpanahi/openmed, 5.5k stars), Hipaa Compliance (Sushegaad/Claude-Skills-Governance-Risk-and-Compliance, 946 stars), ISO Standards Readiness Evidence (K-Dense-AI/scientific-agent-skills, 48k stars) and Iso42001 (Sushegaad/Claude-Skills-Governance-Risk-and-Compliance, 946 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Compliance Search?

Serein-81 (a GitHub user) maintains it in Serein-81/financial_rag, which has 148 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on June 5, 2026.

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