Win in Court: Simulate the Trial Process with an Agent Before the Court Session

Foreword

People involved in litigation often get stuck on a few issues before the court session: whether the evidence is sufficient, what the judge might ask, and if the case is lost, whether the problem lies in the burden of proof, the debate, or the litigation claims themselves. While lawyers can accompany clients in court, they rarely have the opportunity to rehearse the complete process—acting as either the plaintiff or the defendant—before the official session begins.

The following is an introduction to the community skill “Win in Court” on SkillHub, which utilizes Agents to simulate court hearings before the actual session, establishing the partnership between the client and the lawyer ahead of time.

What is this

“Win in Court” is an Agent Skill designed for litigation preparation scenarios. Its coordinates are @user_f359886b/agent-court-v2026, with the current version at 1.0.0, categorized as professional, and sourced from the community. The page lists the publisher as user_f359886b, and the author as Lawyer Wang Zhe from Hebei Century Ark Law Firm (published independently by the author).

The skill is tagged with requires_api_key=false, meaning it does not depend on additional API Key configuration for use. The SkillHub page shows a rating of 100000 and 1269 downloads (based on data displayed on the page).

The problem it aims to solve is: prior to a real court session, allowing the client (or a lawyer accompanied by their client) to go through the complete hearing process according to their specific role. This includes segments such as the presentation and cross-examination of evidence, judge-led proceedings, and mediation. After the rehearsal, the process provides conclusions to facilitate reviewing and filling in gaps.

Core Features

The following capabilities are derived from the SkillHub skill page and introduction, not exceeding publicly available descriptions:

  1. Roles & Process: Supports going through the hearing once as either the plaintiff or the defendant; can be practiced with a lawyer or independently.
  2. Difficulty & Opponent: Difficulty levels can be selected, and opponent roles can be configured.
  3. Hearing Elements: Evidence can be cross-examined on the spot; a “judge” presides throughout; the mediation segment can be paused at any time.
  4. Target Audience: Helps clients learn how to cooperate with their lawyers; also serves as a practice method for new lawyers to gain experience in coordinating with clients during hearings.
  5. Output: After completing a run, the client gains clarity on what should and shouldn’t be said; the process concludes with a result upon completion (specific wording depends on the skill’s runtime).

Installation & Activation

First, confirm if skillhub is installed on your machine:

command -v skillhub && skillhub --version

If not installed, follow the official SkillHub installation documentation to perform a full installation (CLI + Default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

When installing skills, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to installing in ./skills/, which the Agent may not recognize. Official documentation states that a client restart is usually required after installation.

In Cursor, the skills directory is generally:

~/.cursor/skills/

To install this skill:

skillhub install user_f359886b/agent-court-v2026 --dir ~/.cursor/skills/

Other common client paths (excerpted from SkillHub installation documentation, select based on your actual tool):

  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Gemini CLI: ~/.gemini/skills/

The official documentation does not separately list specific usage differences for Cursor / Codex / Claude Code; the commonality is installing to the corresponding skills directory and having the Agent load skills in SKILL.md format.

Method 2: Let AI install via official prompts

The installation prompt provided on the SkillHub page is: Based on SkillHub Installation & Priority Source Configuration, install @user_f359886b/agent-court-v2026. You can send this sentence to an AI client that supports Skill installation, and the Agent will complete the installation according to the documentation.

Typical Usage

Public materials do not provide fixed conversation templates or example cases; usage follows the process in the skill introduction. You can understand and reproduce the goal of “running a rehearsal” using the following steps:

  1. After enabling the “Win in Court” skill in the Agent, specify whether you are the plaintiff or defendant, and whether you wish to practice in coordination with a “lawyer” role.
  2. Follow the skill instructions to select difficulty and configure the opponent; submit evidence and participate in cross-examination during the simulation, following the judge’s direction to proceed through the hearing.
  3. You may pause the mediation segment if needed; after completing the full run, use the conclusion output by the skill to review, supplement evidence, modify litigation claims, or adjust your debate strategy.

Specific phrasing for each round, adjudication rules, and output format depend on the SKILL.md within the skill package and runtime behavior; this article does not fabricate cases or hearing records.

Applicable Scenarios & Notes

Who it is for

  • Clients who are about to go to court and wish to familiarize themselves with the process and boundaries of speech in advance.
  • Lawyers who want to practice hearing coordination with clients beforehand, especially new lawyers needing to accumulate experience in cooperation.

Limitations & Notes

  • This is a pre-trial simulation and preparation tool and cannot replace formal legal services, filing material reviews, or court judgments; major cases should still be consulted with a practicing lawyer.
  • Community sourced (community), please judge for yourself whether the content matches local procedures and causes of action before use.
  • No API Key is required, but if you install via SkillHub CLI, ensure the installation directory matches your current Agent, and restart the client as requested.
  • The “Install” count of 0 on the page indicates a SkillHub statistics field only, existing alongside the “1269 downloads”; take whether it is successfully installed into your local skills directory as the standard.

Conclusion

“Win in Court” moves the partnership between client and lawyer to the pre-trial stage: practicing as either plaintiff or defendant, running through evidence cross-examination, judge-led proceedings, and pausing mediation within the simulation, allowing for corrections and gap-filling after the practice. To use in environments like Cursor, follow the commands above to install to the corresponding skills directory.

  • SkillHub Skill Page: https://www.skillhub.cn/skills/user_f359886b/agent-court-v2026
  • Skill API Coordinates Page: https://api.skillhub.cn/user_f359886b/agent-court-v2026
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye