Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Oo Yuandian

CSecurity

Yuan Dian (open.chineselaw.com). Use this skill for ANY Yuan Dian request — searching and reading data. Whenever a task involves Yuan Dian, use this skill instead of calling the API directly.

2 stars
0 votes
0 copies
0 views
Added 9/3/2026
ai-agentsgoshellbashgitapi

Works with

cliapi

Security Analysis

C71/100
criticalPipes output to a shell interpreter
mediumUses curl or wget to download content
criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned 9/21/2026

$npx -y skills add oomol-lab/skills --skill oo-yuandian --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Oo Yuandian?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Oo Yuandian
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/oomol-lab-oo-yuandian/badge)](https://www.skillsdirectory.com/skills/oomol-lab-oo-yuandian)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: oo-yuandian
description: "Yuan Dian (open.chineselaw.com). Use this skill for ANY Yuan Dian request — searching and reading data. Whenever a task involves Yuan Dian, use this skill instead of calling the API directly."
allowed-tools: [Bash(oo *)]
metadata:
  title: "Yuan Dian"
  author: "OOMOL"
  version: "1.0.3"
  services: ["yuandian"]
  icon: "https://static.oomol.com/logo/third-party/yuandian.svg"
---

# Yuan Dian

Operate **Yuan Dian** through your OOMOL-connected account. This skill calls the `yuandian` connector with the [oo CLI](https://github.com/oomol-lab/oo-cli); OOMOL injects credentials server-side, so you never handle raw tokens.

## Running an action

Assume the user has already installed the oo CLI, signed in, and connected Yuan Dian. **Do not run `oo auth login` or open the connection URL proactively — just run the action.** Fall back to [First-time setup](#first-time-setup) only when a command actually fails with an auth or connection error.

**1. Inspect the contract** to get the authoritative input/output schema before building a payload:

```bash
oo connector schema "yuandian" --action "<action_name>"
```

**2. Run the action** with a JSON payload that matches the input schema:

```bash
oo connector run "yuandian" --action "<action_name>" --data '<json>' --json
```

- `--data` takes a JSON object string or `@path/to/file.json`; omit it to send `{}`.
- The response is `{ "data": ..., "meta": { "executionId": "..." } }`; the execution id lives under `meta.executionId`.

Each action is listed below with a one-line description; actions that change state carry a `[write]` or `[destructive]` tag. Before constructing `--data`, fetch the action's live schema with `oo connector schema` to get its authoritative input fields.

## Available actions

- `check_legal_hallucinations` — Check legal text for hallucinated or inconsistent statute, clause, and case references using Yuan Dian.
- `get_case_details` — Retrieve Yuan Dian ordinary or authoritative case details by case ID or case number.
- `get_clause_detail` — Retrieve one Yuan Dian statutory clause detail by clause ID or by regulation name and clause number.
- `get_enterprise_aggregation_summary` — Retrieve Yuan Dian enterprise aggregation summary for due-diligence and risk review.
- `get_enterprise_annual_report` — Retrieve one Yuan Dian enterprise annual report by enterprise ID or unified social credit code and year.
- `get_enterprise_base_info` — Retrieve Yuan Dian enterprise base registration, shareholder, member, and branch information.
- `get_enterprise_detail` — Retrieve one Yuan Dian enterprise aggregate detail by enterprise ID or unified social credit code.
- `get_enterprise_litigation_statistics` — Retrieve Yuan Dian enterprise litigation statistics grouped by case, court, year, region, and party dimensions.
- `get_regulation_detail` — Retrieve one Yuan Dian regulation detail by regulation ID or regulation name, optionally at a reference date.
- `list_enterprise_business_records` — List paginated Yuan Dian enterprise changes, investments, guarantees, pledges, or frozen-equity records.
- `list_enterprise_compliance_records` — List paginated Yuan Dian punishment, abnormal-operation, serious-illegal, or tax records for one enterprise.
- `list_enterprise_court_notices` — List paginated Yuan Dian court session notices or court notices for one enterprise.
- `list_enterprise_execution_risks` — List paginated Yuan Dian executed-person or dishonest-execution records for one enterprise.
- `list_enterprise_ip_assets` — List paginated Yuan Dian patents, trademarks, copyrights, software copyrights, or ICP filings for one enterprise.
- `list_enterprise_writs` — List paginated Yuan Dian writ summaries related to one enterprise.
- `search_authoritative_cases` — Search Yuan Dian authoritative, typical, reference, bulletin, and guidance cases by metadata and full-text filters.
- `search_clauses` — Search Yuan Dian statutory clauses by required content keyword plus optional regulation metadata filters.
- `search_enterprise_profiles` — Search Yuan Dian enterprise profile candidates by enterprise name or stock short name.
- `search_enterprises` — Search Yuan Dian enterprises by name and return low-cost enterprise identifier candidates.
- `search_ordinary_cases` — Search Yuan Dian ordinary adjudication cases by case metadata, full text, analysis text, and cited clauses.
- `search_regulations` — Search Yuan Dian regulations by keyword, name, validity, region, effect level, issuing authority, and dates.
- `semantic_search_cases` — Run a natural-language semantic search over Yuan Dian cases with optional case metadata filters.
- `semantic_search_regulations` — Run a natural-language semantic search over Yuan Dian statutory clauses and return matched clauses.

## Safety

- Untagged actions are reads (get / list / search) — safe to run directly.
- **Actions tagged `[write]` change Yuan Dian state — confirm the exact payload and effect with the user before running.**
- **Actions tagged `[destructive]` remove or overwrite data — always confirm the target and get explicit approval first.**

## First-time setup

These are **one-time** steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

- **`oo: command not found`** — install the oo CLI (other platforms: <https://cli.oomol.com/install-guide.md>):

  ```bash
  curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
  ```

  ```powershell
  irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
  ```

- **Not signed in / authentication error** — sign in to your OOMOL account once:

  ```bash
  oo auth login
  ```

- **`scope_missing` / `credential_expired` / `app_not_ready` / `app_not_found`** — Yuan Dian is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

  ```text
  https://console.oomol.com/app-connections?provider=yuandian
  ```

- **HTTP 402 / `OOMOL_INSUFFICIENT_CREDIT`** — billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

## Resources

- Yuan Dian homepage: https://open.chineselaw.com

Attribution

oomol-laboomol-lab
View sourceSee grades on GitHubMore from oomol-lab →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →