← Back to Skills Marketplace
agistack

Defense

by AGIstack · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
316
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install defense
Description
A comprehensive AI agent skill for anyone facing criminal charges, civil lawsuits, or regulatory investigations. Helps you understand what you are facing, pr...
README (SKILL.md)

Defense

When the System Is Pointed at You

Being on the receiving end of legal action changes everything about how the legal system feels. When you are pursuing a claim, the pace is frustrating but the initiative is yours. When you are defending one, the initiative belongs to someone else and the system's power is applied in a direction that is not yours.

The people who navigate this position most effectively are not necessarily the ones with the most resources or the best attorneys — though both matter. They are the ones who understood their rights from the first moment of contact, who did not inadvertently damage their own position before counsel was involved, who worked with their attorney as an informed participant rather than a passive subject, and who made decisions at each stage with clear understanding of what they were choosing between.

This skill builds that capacity.


The First Moment Matters Most

In both criminal and civil defense, the decisions made in the first hours and days of a legal matter have consequences that persist throughout. The statement made to law enforcement before an attorney is present. The email sent to opposing counsel acknowledging facts that should have been disputed. The documents deleted after a preservation obligation attached. The social media post that contradicts a position the case depends on.

None of these mistakes are made with bad intent. They are made because the person did not yet understand their situation, their rights, or the implications of ordinary actions that take on legal significance once a matter has begun.

The skill covers the immediate steps in any defense situation. What to say and what not to say to law enforcement. What to preserve and what not to delete once litigation or investigation begins. Who to notify and who not to discuss the matter with. What actions are safe and what actions create legal risk before counsel is engaged.


Criminal Defense

A criminal charge — whether a misdemeanor or a felony, whether the conduct occurred or not — is a matter that requires an attorney. The stakes include liberty, a permanent criminal record, employment consequences, immigration consequences, and professional licensing consequences that can follow a person for decades. The procedural complexity of criminal proceedings, the investigative resources of the prosecution, and the consequences of error make self-representation in serious criminal matters genuinely dangerous.

The skill covers the criminal process from arrest through resolution. The right to remain silent and why exercising it is almost always the right decision regardless of innocence. The right to counsel and how to invoke it. The arraignment and what happens there. Bail and the factors that determine it. Discovery in criminal cases and what the prosecution is required to disclose. Plea negotiations and how to evaluate a plea offer honestly. Trial preparation and what the defense must establish. Sentencing and the factors that influence it.

For each stage it explains what is happening, what the defense options are, and what the decision points look like.


Civil Defense

Being sued is disorienting. A complaint arrives containing allegations that may be false, exaggerated, or legally insufficient, written in the language of legal claims rather than ordinary description, accompanied by a deadline to respond that is shorter than most people expect.

The skill helps you respond to a civil lawsuit effectively from the first document. Understanding what the complaint alleges and whether the allegations state a valid legal claim. The response deadline and what happens if it is missed. The answer and what it should contain. The affirmative defenses that may apply to your situation. The counterclaims that may be available if the plaintiff's conduct contributed to the dispute. Discovery obligations and how to fulfill them without overproducing.

For each stage of civil litigation it explains your obligations, your options, and the strategic considerations that should inform how you respond.


Regulatory and Administrative Defense

Not all legal threats come from courts. Regulatory agencies, licensing boards, tax authorities, and administrative tribunals pursue investigations and enforcement actions through processes that look different from civil litigation but carry consequences that can be equally significant — license revocation, substantial fines, debarment from industries, and referrals for criminal prosecution.

The skill covers regulatory defense across common contexts. Responding to agency investigations and the difference between voluntary cooperation and compelled production. Administrative hearings and how they differ from court proceedings. The importance of legal counsel specialized in the relevant regulatory area. The settlement options that most regulatory matters offer and how to evaluate them.


Working With Defense Counsel

The attorney-client relationship in a defense context has a specific dynamic. The attorney's job is to provide the most effective defense of your legal position, not to evaluate the underlying conduct or render a verdict on your character. Understanding this — and understanding the confidentiality protections that make complete honesty with your attorney both safe and essential — is the foundation of an effective defense relationship.

The skill helps you work with defense counsel effectively. The absolute importance of full disclosure to your attorney regardless of what that disclosure contains. How to organize and present information in ways that help your attorney build the strongest defense. How to evaluate strategic recommendations that may feel counterintuitive — taking a plea, not testifying, not calling a witness who feels important to you. How to ask questions that produce useful answers without undermining your attorney's confidence in you. What to do if the representation is not meeting your needs.


Evaluating Plea and Settlement Options

Most criminal matters resolve through plea agreements. Most civil matters resolve through settlement. Evaluating these offers requires understanding what the realistic alternative is — not the best-case trial outcome, but the probability-weighted outcome across all trial scenarios — and comparing it honestly to the certainty of the negotiated resolution.

The skill helps you evaluate any offer in a defense context. The factors that affect plea offer value in criminal matters — strength of the prosecution's evidence, the sentencing guidelines if convicted at trial, the collateral consequences of conviction versus plea. The factors that affect settlement value in civil matters — the strength of the plaintiff's claim, the likely damages if the case goes to trial, the cost of continued defense. The questions to ask your attorney that surface the information you need to make this decision rather than defer it.

Usage Guidance
Security and practical notes before installing: (1) Technical risk is low — this is instruction-only with no installs or secret access — but verify the publisher (skill.json lists author 'AGIstack' and a homepage URL) if provenance matters to you. (2) This is general legal guidance, not a substitute for a licensed attorney in your jurisdiction; laws and procedures vary. (3) The examples and prompts invite sharing highly sensitive facts; avoid pasting privileged communications or unnecessary personally identifying information into the agent, especially if you already have counsel (attorney-client privilege considerations). (4) If you rely on the skill for high‑stakes decisions, confirm recommendations with a qualified lawyer and do not treat the skill's output as legal advice.
Capability Analysis
Type: OpenClaw Skill Name: defense Version: 1.0.0 The 'Defense' skill bundle is a purely informational set of instructions and examples designed to guide an AI agent in providing legal defense support. It contains no executable code, requests no system permissions, and focuses on educational guidance regarding legal rights, evidence preservation, and working with counsel. There are no indicators of data exfiltration, malicious execution, or prompt injection attacks across the analyzed files (skill.md, skill.json, examples.md, heartbeat.md).
Capability Assessment
Purpose & Capability
The name, description, and declared capabilities match the SKILL.md content (criminal, civil, regulatory defense guidance, working with counsel, preservation checklists). There are no unrelated requirements (no cloud creds, no unrelated binaries).
Instruction Scope
The runtime instructions are prose guidance, examples, and heartbeat prompts. They do not instruct the agent to read local files, access environment variables, call external endpoints, or exfiltrate data. The prompts ask users to provide case facts (expected for a guidance skill).
Install Mechanism
No install spec and no code files — instruction-only. This minimizes the risk of arbitrary code execution or hidden downloads.
Credentials
The skill declares no required environment variables, credentials, or config paths. Nothing in SKILL.md attempts to access secrets or other services.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent system privileges or modify other skills/configurations. Autonomous invocation defaults are unchanged and acceptable here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install defense
  3. After installation, invoke the skill by name or use /defense
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with four-file structure
Metadata
Slug defense
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Defense?

A comprehensive AI agent skill for anyone facing criminal charges, civil lawsuits, or regulatory investigations. Helps you understand what you are facing, pr... It is an AI Agent Skill for Claude Code / OpenClaw, with 316 downloads so far.

How do I install Defense?

Run "/install defense" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Defense free?

Yes, Defense is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Defense support?

Defense is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Defense?

It is built and maintained by AGIstack (@agistack); the current version is v1.0.0.

💬 Comments