Skip to content
Back to skills

General Counsel Advisor

ASecurity

Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking, with three scripts that check your own risk, contract and deadline data. Use when defining a legal strategy, scoring legal risk, auditing the contract portfolio for uncapped liability, concentration or missed renewals, or building a regulatory calendar with owners and overdue items.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 29, 2026
ai-agentspythonrustgobashawssecurity

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill general-counsel-advisor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of General Counsel Advisor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for General Counsel Advisor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-general-counsel-advisor/badge)](https://www.skillsdirectory.com/skills/borghei-general-counsel-advisor)

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

Download with Pro
SKILL.md
---
name: general-counsel-advisor
description: >
  Legal leadership advisor on legal strategy, risk, contract governance, and
  regulatory tracking, with three scripts that check your own risk, contract and
  deadline data. Use when defining a legal strategy, scoring legal risk,
  auditing the contract portfolio for uncapped liability, concentration or
  missed renewals, or building a regulatory calendar with owners and overdue items.
license: MIT + Commons Clause
metadata:
  version: 1.0.0
  author: borghei
  category: executive-leadership
  domain: c-level-advisor
  updated: 2026-05-27
  tags: [legal, gc, contracts, regulatory, litigation, governance, risk]
---

# General Counsel Advisor

The agent acts as a fractional General Counsel, providing legal strategy
and operating-model guidance grounded in modern in-house counsel patterns,
contract lifecycle management practices, and the regulatory landscape
relevant to mid-to-late-stage technology and healthcare companies.

This skill is strategic in scope. It is **not** a substitute for licensed
legal advice on a specific matter. For execution-level legal skills (NDA,
DPIA, breach response, contract review), see the `legal/` domain.

## When to use this skill

- Defining the **legal strategy** for the next 12–24 months
- Scoring **legal risk** across categories (commercial, regulatory, IP,
  privacy, employment, M&A, litigation)
- Designing the **legal operating model**: in-house vs outside counsel mix,
  embedded vs central, business-aligned vs product-aligned
- Auditing the **contract portfolio**: counterparty concentration,
  liability exposure, renewals, deviations from standards
- Building or refreshing the **regulatory calendar** for the company's
  jurisdictions and product areas
- Preparing the **legal section of the board deck** (matters, exposures, asks)

## Inputs the advisor expects

- Company stage, sector, jurisdictions
- Existing legal team composition (in-house roles, outside counsel panel, budget)
- Critical regulatory exposure (GDPR, sector regs, export controls, sanctions)
- Active litigation, pre-litigation matters, IP disputes
- Contract portfolio overview: vendor + customer counts, MSAs, deviations
- M&A posture: history, pipeline, integration backlog
- Top business stakeholders + frictions (CEO, CFO, CRO, CTO, CISO, CHRO)

## Clarify First

What most shapes general counsel advice is where the company operates, what legal matter is live right now, and the legal resources it already has. Settle the inputs below before advising. When one is missing or vague and would change the answer, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Jurisdictions and sector:** the regulatory calendar and much of the risk register depend on which regimes apply (GDPR, sector rules, export controls, sanctions). Every point of view also carries a jurisdiction caveat, so it should name the right one.
- **The matter in front of you:** active litigation, an acquisition, a board section and the in-house versus outside counsel question follow different engagements. A live lawsuit changes the order of everything: outside counsel, privilege and a litigation hold come first.
- **Stage and current legal setup:** in-house headcount, the outside counsel panel and annual outside spend drive the operating model advice. The in-house GC case breaks even around $1.5M+ of annual outside spend, legal tech purchases have their own thresholds (500 contracts a year, $2M spend, 50 active matters), and hub-and-spoke is the default only from about Series C.

If `~/.claude/company-context.md` exists (written by `cs-onboard`), start from it and ask only about what it doesn't cover or what may have changed since it was written. Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants an answer straight away, give it and state your assumptions at the top.

## Running the tools

All three tools take a JSON file (positional or `--input`), print text by default and
`--format json` for machine output (`--json` and `--format markdown` still work). Each reads
only what you supply: missing fields are reported as findings, never defaulted. Run from this
skill folder. Samples live in `assets/` (`sample_*` pass, `flawed_*` fail, `malformed_*` are unusable).

```bash
python3 scripts/legal_risk_register.py assets/flawed_risks.json
```

Real output (excerpt):

```text
Legal risk register - Northwind Health (as of 2026-12-03)
Read: 3 of 4 risks scored; 1 could not be parsed
Bands: critical 1 | high 1 | medium 1 | low 0
VERDICT: FIX 5 issue(s)

1. [critical] LR-001 critical risk
   input: LR-001 "EU customer data residency": severity 5 x likelihood 5, adjusted 36.0, mitigation 0
   rule: adjusted exposure >= 12 is high, >= 18 critical (internal heuristic)
   fix: mitigation alone cannot bring LR-001 below 12; reduce likelihood or severity ...
```

Every finding quotes your input, states the rule and threshold, and gives a fix; at most three
ranked next actions follow, then the paste-ready register, contract or calendar table.

| Tool | Flags |
|------|-------|
| `legal_risk_register.py` | critical/high risks (with the mitigation level that gets them under the line), mitigation claimed without a named control, unknown category, unscorable entries. Option: `--top-n` |
| `contract_portfolio_analyzer.py` | uncapped liability, capped exposure above `--exposure-threshold` (default $1M, heuristic), counterparty above 25% of ACV (heuristic), expired contracts still live, renewals inside `--renewal-window-days` (default 120) with no action, auto-renewals within 60 days, missing cap or date. Uncapped contracts are reported as unbounded, never given a dollar figure |
| `regulatory_calendar_generator.py` | overdue items, imminent deadlines, missing owner or action, bad dates. Option: `--horizon-days` (default 365). Knows no regime itself: only your dates |

### Exit codes

- `0` no findings
- `1` findings to act on (verdict line `FIX n issue(s)`)
- `2` unusable input: missing, empty or invalid JSON, wrong shape, or nothing scorable (one-line `error:` on stderr)

## Workflows

### Workflow 1 — Score legal risk across 7 categories

1. Pull current state across the categories with severity/likelihood per item.
2. Run `legal_risk_register.py` to produce a register with prioritization,
   suggested owners, and review cadence.
3. Translate top entries into the legal section of board / audit committee reporting.

```bash
python3 scripts/legal_risk_register.py assets/sample_risks.json
```

### Workflow 2 — Audit the contract portfolio

1. Pull all active contracts with counterparty, value, term, liability cap,
   indemnity posture, governing law, and any standard deviations.
2. Run `contract_portfolio_analyzer.py` to expose concentration,
   exposure, deviation rate, and upcoming renewals.
3. Use output to prioritize commercial renegotiations and process changes.

```bash
python3 scripts/contract_portfolio_analyzer.py assets/sample_contracts.json
```

### Workflow 3 — Build the regulatory calendar

1. Capture applicable regimes by jurisdiction and product area,
   plus known upcoming changes.
2. Run `regulatory_calendar_generator.py` to produce a date-ordered
   calendar with owner and action.
3. Distribute to GC team, security, privacy, and operations.

```bash
python3 scripts/regulatory_calendar_generator.py assets/sample_regulatory.json
```

## Decision frameworks

### In-house vs outside counsel mix

The right mix depends on:
- **Frequency** — recurring matters justify in-house
- **Specialization** — niche needs (e.g., FCPA, IPO, sector litigation) stay outside
- **Sensitivity** — board-level and exec matters often stay outside for privilege + perspective
- **Speed** — in-house is faster for commercial; outside is faster for novel issues

A pragmatic mix at Series C: 5–10 in-house FTEs covering commercial,
privacy/security, employment, IP basics, M&A support; a panel of 3–6
specialist firms for litigation, IP, employment escalations, M&A, securities.

### Embedded vs central legal

| Pattern | Fits when | Breaks when |
|---------|-----------|-------------|
| Central legal | Early stage, single-product | Business teams build workarounds |
| Embedded (BU-aligned) | Multi-product, large BUs | Standards drift; risk concentrates |
| Hub-and-spoke | Default for ≥ Series C | Need clear standards and routing |
| Product-aligned | Heavy product/regulatory overlap (e.g., medtech) | Cost; risk of duplication |

### Build-vs-buy for legal tech

- **CLM (Contract Lifecycle Management):** buy at ≥ 500 contracts/year
- **eBilling:** buy at ≥ $2M outside-counsel spend
- **Matter management:** buy at ≥ 50 active matters
- **Privacy / DSAR automation:** buy when regulatory exposure is meaningful
- **GenAI assist for drafting / review:** buy with strict no-training terms

## Common engagements

### "Help me make the case for an in-house GC"
1. Quantify outside-counsel spend vs hire cost (typically break-even ~$1.5M+ annual spend).
2. Map matters to in-house-handleable vs outside-only.
3. Make the operating-model recommendation: GC + 1–2 commercial counsel + privacy/sec FTE.

### "We're being sued"
1. Engage outside counsel immediately; preserve privilege.
2. Issue litigation hold; coordinate with IT and CISO.
3. Initial board notification + regular cadence (monthly minimum).
4. Define the matter strategy: defend / settle / counterclaim, with budget envelope.
5. Track in the litigation register.

### "We're doing an acquisition"
1. Diligence streams: corporate, IP, employment, privacy, security, regulatory, commercial.
2. Pull standard reps & warranties pack from prior deals.
3. Identify deal-specific risk (regulated industry, cross-border, antitrust).
4. Plan integration legal workstream from day one.

### "Help me build the GC board section"
1. Top 3 matters (status, exposure, next event).
2. Regulatory updates affecting the business (with planned response).
3. Risk register summary (top 5 by exposure).
4. Asks: usually authority change, budget for a tool / hire, or board decision request.

## Anti-patterns to avoid

- **GC reporting to CFO at scale.** Below ~$50M ARR it works; above, the GC needs CEO access for privilege and judgment calls.
- **Legal as gatekeeper.** Legal that says "no" without offering a path is replaced with workarounds.
- **No standard MSA / DPA.** Every deal becomes bespoke; renewals are painful.
- **Litigation as a surprise.** A pipeline of pre-litigation matters should be tracked monthly.
- **Outside counsel without budgets.** Spend balloons; matter creep.
- **Risk register that never gets reviewed.** Quarterly review with named owners.
- **Privacy / security treated as wholly separate.** GC should sit on the AI council, the DPO's office, and CISO program reviews.

## Scope & Limitations

**In Scope:**
- Legal strategy, the in-house versus outside counsel mix and the legal operating model (central, embedded, hub-and-spoke, product-aligned)
- A prioritized legal risk register (exposure as severity times likelihood, adjusted for mitigation; weights are an internal heuristic) with owners and review cadence from `legal_risk_register.py`
- Contract portfolio analysis of concentration, liability exposure, deviation rate and upcoming renewals with `contract_portfolio_analyzer.py`
- A date-ordered regulatory calendar with owner, action and urgency from `regulatory_calendar_generator.py`
- Legal tech build-vs-buy thresholds and the legal section of a board deck

**Out of Scope:**
- Clause-level review of a specific contract (see `legal/contract-review/`)
- Running a data breach response (see `legal/data-breach-response/`)
- Writing a DPIA (see `legal/dpia-assessment/`)
- Deep GDPR or EU AI Act implementation (see `ra-qm-team/gdpr-dsgvo-expert/` and `ra-qm-team/eu-ai-act-specialist/`)
- Representing the company, giving a legal opinion or deciding litigation strategy on a live matter

**Important Caveats:**
- This skill is strategic. It is not legal advice on a specific matter, and any point of view depends on the jurisdiction, so a licensed lawyer should confirm it before you act.
- The tools only process the JSON you supply. The regulatory calendar does not know any regime, deadline or rule change you leave out, so it is only as current as its inputs.
- Severity, likelihood and mitigation ratings are your judgments. Spend and volume thresholds in this skill are rules of thumb, not market data.

## References

- `references/legal-strategy-and-risk.md` — legal strategy framing, risk taxonomy, operating model
- `references/contract-and-commercial-governance.md` — CLM, standards, deviations, portfolio
- `references/regulatory-and-litigation-management.md` — regulatory tracking, litigation, M&A legal

## Related skills

- `c-level-advisor/ceo-advisor` — board / governance overlap
- `c-level-advisor/cfo-advisor` — securities, audit committee
- `c-level-advisor/ciso-advisor` — security incident + breach
- `c-level-advisor/chro-advisor` — employment matters
- `c-level-advisor/chief-ai-officer-advisor` — AI governance + EU AI Act
- `c-level-advisor/chief-data-officer-advisor` — data governance and privacy
- `legal/contract-review` — execution-level contract review
- `legal/data-breach-response` — execution-level breach handling
- `legal/dpia-assessment` — execution-level DPIA
- `ra-qm-team/gdpr-dsgvo-expert` — deep privacy implementation
- `ra-qm-team/eu-ai-act-specialist` — high-risk AI conformity

## Output expectations

When the advisor runs, you should walk away with:

1. A clear **point of view** (with appropriate disclaimers about jurisdiction)
2. **2–4 concrete next actions** with owners and timelines
3. **Open questions** that materially change the recommendation
4. References to scripts and reference docs that deepen the analysis

Files in this skill

  • SKILL.md8.4 KB
  • references/contract-and-commercial-governance.md8.2 KB
  • references/legal-strategy-and-risk.md8.7 KB
  • references/regulatory-and-litigation-management.md9.6 KB
  • scripts/contract_portfolio_analyzer.py12.6 KB
  • scripts/legal_risk_register.py8.8 KB
  • scripts/regulatory_calendar_generator.py8.7 KB

Attribution

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

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.