Agent skill

General Counsel Advisor

by borghei in borghei/Claude-Skills

Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking.

MITAuto-check passedLegal & Compliance

Install General Counsel Advisor

skills CLI
$ npx skills add borghei/Claude-Skills --skill general-counsel-advisor -a claude-code

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

GitHub CLI
$ gh skill install borghei/Claude-Skills general-counsel-advisor --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/borghei/Claude-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/c-level-advisor/general-counsel-advisor .claude/skills/general-counsel-advisor && 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
general-counsel-advisor
GitHub stars
886
Token cost
~2.1k tokens
SKILL.md length
901 words
Files
7 (incl. scripts, references)
Skills in repo
354
Repo updated
First seen
Licence
MIT

At a glance

Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking.

  • Works in 3 steps: Pull current state across the categories… → Run legal_risk_register.py to produce a… → Translate top entries into the legal…
  • Defining a legal strategy
  • SKILL.md covers When to use this skill, Inputs the advisor expects, Workflows and Decision frameworks, plus 5 more sections
  • Runs Python scripts from its folder; calls python3

What it does

General Counsel Advisor is an agent skill from borghei/Claude-Skills. Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking. Use when defining a legal strategy, scoring legal risk, auditing the contract portfolio, or building a regulatory calendar.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/contract-and-commercial-governance.md`, `references/legal-strategy-and-risk.md` and `references/regulatory-and-litigation-management.md`).

It sits in Legal & Compliance, covering Legal risk assessment. The repository describes itself as: 385 AI skills, 77 expert agents, and 900 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, research, and a LinkedIn toolkit… The licence is MIT.

When your agent uses it

  • Defining a legal strategy
  • Scoring legal risk
  • Auditing the contract portfolio
  • Building a regulatory calendar

Example prompts

  • “/general-counsel-advisor”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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.

Context cost

General Counsel Advisor loads about 2.1k tokens when it runs, and up to ~8.9k if it reads all its reference files. Until then it costs about 61 tokens; SKILL.md has 901 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

The full file from borghei/Claude-Skills at commit 4a698e8, republished under its MIT licence (© borghei). 901 words, ~2,091 tokens.

Download SKILL.mdSave it as .claude/skills/general-counsel-advisor/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
general-counsel-advisor
description
Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking. Use when defining a legal strategy, scoring legal risk, auditing the contract portfolio, or building a regulatory calendar.
license
MIT + Commons Clause
metadata.version
1.0.0
metadata.author
borghei
metadata.category
executive-leadership
metadata.domain
c-level-advisor
metadata.updated
2026-05-27
metadata.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)

Workflows

  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 general-counsel-advisor/scripts/legal_risk_register.py \
  --input legal_risk_inputs.json --format markdown
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 general-counsel-advisor/scripts/contract_portfolio_analyzer.py \
  --input contracts.json --format markdown
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 general-counsel-advisor/scripts/regulatory_calendar_generator.py \
  --input regulatory_inputs.json --format markdown

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.

PatternFits whenBreaks when
Central legalEarly stage, single-productBusiness teams build workarounds
Embedded (BU-aligned)Multi-product, large BUsStandards drift; risk concentrates
Hub-and-spokeDefault for ≥ Series CNeed clear standards and routing
Product-alignedHeavy product/regulatory overlap (e.g., medtech)Cost; risk of duplication
  • 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.
Show full SKILL.md (349 more words)Show less
"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.

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
  • 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/breach-response — execution-level breach handling
  • legal/dpia-builder — 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

© borghei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in c-level-advisor/general-counsel-advisor of borghei/Claude-Skills.

  • SKILL.md
  • references/contract-and-commercial-governance.md
  • references/legal-strategy-and-risk.md
  • references/regulatory-and-litigation-management.md
  • scripts/contract_portfolio_analyzer.py
  • scripts/legal_risk_register.py
  • scripts/regulatory_calendar_generator.py

Open the folder on GitHubat commit 4a698e8

Compare with similar skills

General Counsel Advisor 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.

General Counsel Advisor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
General Counsel Advisor this skillborghei/Claude-Skills886—~2.1kAutomated safety check: PassMIT
Product Launch Legal Reviewanthropics/claude-for-legal9.6k2 repos~5kAutomated safety check: PassApache-2.0
Legal Risk Visualizationzh-xx/legal-assistant-skills173—~2.4kAutomated safety check: PassApache-2.0
Contract Renewal Trackeranthropics/claude-for-legal9.6k2 repos~3.1kAutomated safety check: PassApache-2.0
Deep Risk Analysiszubair-trabzada/ai-legal-claude1.8k—~1.9kAutomated safety check: PassNone
Canghe Tianyanchafreestylefly/canghe-skills461—~2.4kAutomated safety check: PassNone

Similar skills

  • Product Launch Legal Review

    anthropics/claude-for-legal

    Official

    Runs a category-by-category legal review of a product launch from a PRD or tracker ticket, calibrated to your team's framework, and writes a review memo in house format.

    9.6k GitHub starsUsed in 2 repos~5k tokens
    Legal & ComplianceAuto-check passed
  • Legal Risk Visualization

    zh-xx/legal-assistant-skills

    法律风险结构化分析与可视化。基于法律分析文本,执行五步风险抽取模型, 生成四层可视化输出(雷达图数据、风险矩阵、影响路径图、决策树)。

    173 GitHub stars~2.4k tokensUpdated 5 mo ago
    Legal & ComplianceAuto-check passed
  • Contract Renewal Tracker

    anthropics/claude-for-legal

    Official

    Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.

    9.6k GitHub starsUsed in 2 repos~3.1k tokens
    Legal & ComplianceAuto-check passed
  • Deep Risk Analysis

    zubair-trabzada/ai-legal-claude

    Clause-by-clause contract risk analysis with severity scoring, financial exposure estimates, and prioritized remediation guidance

    1.8k GitHub stars~1.9k tokensUpdated 6 mo ago
    Legal & ComplianceAuto-check passed
  • Canghe Tianyancha

    freestylefly/canghe-skills

    Generates Tianyancha-style company and industry insight dashboards from researched enterprise data.

    461 GitHub stars~2.4k tokensUpdated 4 mo ago
    Legal & ComplianceAuto-check passed
  • EU AI Act System Inventory

    anthropics/claude-for-legal

    Official

    Maintains a register of AI systems under the EU AI Act, recording each system's role and risk tier separately, because both can differ from one system to the next.

    9.6k GitHub starsUsed in 3 repos~2.8k tokens
    Legal & ComplianceAuto-check passed

More from borghei/Claude-Skills

All 354 skills in this repo
  • Agent Harness

    borghei/Claude-Skills

    Test and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets.

    886 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Agents In The Team

    borghei/Claude-Skills

    Run delivery when AI coding and ops agents take tickets. An agent skill from borghei/Claude-Skills.

    886 GitHub stars~4.2k tokensUpdated 2 days ago
    Auto-check passed
  • AI Content Disclosure

    borghei/Claude-Skills

    Check AI-generated marketing content and reviews for required disclosures under the EU AI Act, FTC rules and platform AI-label policies.

    886 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • AI Prototyping

    borghei/Claude-Skills

    Idea to AI-generated prototype to customer validation to engineering handoff.

    886 GitHub stars~3.6k tokensUpdated 2 days ago
    Auto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    886 GitHub stars~3.4k tokensUpdated 2 days ago
    Auto-check passed
  • Ansoff Matrix

    borghei/Claude-Skills

    Ansoff Matrix — 4-quadrant framework for growth options: market penetration, market/product development, and diversification.

    886 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed

Questions about General Counsel Advisor

What does General Counsel Advisor do?

Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking. General Counsel Advisor is an agent skill from borghei/Claude-Skills. Legal leadership advisor on legal strategy, risk, contract governance, and regulatory tracking.

When should I use General Counsel Advisor?

General Counsel Advisor fits situations like: defining a legal strategy; scoring legal risk; auditing the contract portfolio; building a regulatory calendar.

How do I install General Counsel Advisor in Claude Code?

Run `npx skills add borghei/Claude-Skills --skill general-counsel-advisor -a claude-code`. Or copy the skill folder (c-level-advisor/general-counsel-advisor in borghei/Claude-Skills) into .claude/skills/general-counsel-advisor in your project. Claude Code loads it when a task matches its description.

How do I install General Counsel Advisor in Codex?

Run `npx skills add borghei/Claude-Skills --skill general-counsel-advisor -a codex`. Or copy the skill folder (c-level-advisor/general-counsel-advisor in borghei/Claude-Skills) into .agents/skills/general-counsel-advisor in your project. Codex loads it when a task matches its description.

Can I use General Counsel Advisor 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 borghei/Claude-Skills --skill general-counsel-advisor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/general-counsel-advisor, .gemini/skills/general-counsel-advisor, .github/skills/general-counsel-advisor and .opencode/skills/general-counsel-advisor in your project.

What does General Counsel Advisor need to run?

Going by SKILL.md and its folder, General Counsel Advisor needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does General Counsel Advisor 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 General Counsel Advisor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. 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 General Counsel Advisor use?

General Counsel Advisor is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does General Counsel Advisor use?

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

What are the alternatives to General Counsel Advisor?

Skills that share tags, products or a category with General Counsel Advisor: Product Launch Legal Review (anthropics/claude-for-legal, 9.6k stars), Legal Risk Visualization (zh-xx/legal-assistant-skills, 173 stars), Contract Renewal Tracker (anthropics/claude-for-legal, 9.6k stars) and Deep Risk Analysis (zubair-trabzada/ai-legal-claude, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains General Counsel Advisor?

borghei (a GitHub user) maintains it in borghei/Claude-Skills, which has 886 GitHub stars. The repository holds 354 skills in this directory. The repository was last updated on October 7, 2026.

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