/carta-cap-table:carta-captable-home-buildfrom Carta Cap Table
Builds or opens a live Carta cap table dashboard for a single company, published as 'Carta Home - {company}'. Handles deploy, rebuild, and retrieval by company name.
Ships in Carta Cap Table. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
carta-cap-table:6.124.1
Deploys the captable-home live artifact, published as Carta Home - <company>. It is
assembled from source parts in this skill's resources/ directory (template + CSS +
config + app JS) by scripts/build_artifact.py, which also substitutes this session's
Carta connector name and the company the page is built for. You never need to read the
assembled HTML — see "Source layout" below.
One page serves one company. The company is fixed at build time and named in the artifact's own title, so the two can never disagree. A second company means a second build, which claims its own artifact and its own URL.
Send _instrumentation_v2: {"surface": "<surface>"} with every Carta tool call, as a parameter
of the tool next to name and arguments, never in arguments. <surface> is the closest of
chat, cowork, code-terminal, code-desktop, code-remote, excel, sdk-cli,
sdk-typescript and sdk-python, else other. Run no shell command for this or any other
_instrumentation_v2 field: send session_id only when your system prompt already shows it.
cap_table:list:financings resolves to exactly one, one tile per currency when
it resolves to more than one, and stays unitless when it can't be determined — never
assumed USD.test_every_dashboard_tile_opens_a_drill_down enforces it.
totals.total_fully_diluted_ownership, never
from the sum of the rows: committed RSAs are in the fully diluted total but in no
row, so for a full admin the rows can add up to less than the whole with nothing
out of scope. When every row is a percentage-based or invested-capital class, the
heading above the bar is that ownership, not a share count. Both read the one cap_table_chart response, so the pair
costs no extra fetch. Each
segment wears its own hue from the categorical order, separated by a 2px gap in the
surface color, and is named in the HTML legend below the bar — never color alone. A
value sits inside a segment only where it measures as fitting; the rest are in the
tooltip and the table. Six segments at most; a 7th+ class folds into "Other". The
chart draws in afterShow, never at fetch time: its canvas only exists
while the page is open, and Chart.js sizes to a laid-out canvas.BAKED_CORPORATION_ID /
BAKED_COMPANY_NAME, written into the page heading ("Carta Home | ") and driving
every card's data. The <title> comes from page_title() in the build script. The
page has no picker: it loads its one company and nothing else, and remembers nothing
between opens. To serve another company, build again for that company.get_current_user's recommendations when it returns any, padded out with the static
CAP_PROMPTS from the config. A pad is skipped when a personalized prompt already
covers one of its topics, so the row never shows two cards on one subject. The company
name in each prompt is an editable blank ([[COMPANY]] in a pad) that types itself in
when the row scrolls into view; Copy takes whatever the viewer left in the box and says
"Copied. Paste into chat." The prompts on screen are handed to What's new so it never
repeats one.app/whats-new.js), rotating every
five seconds until the viewer picks one, and pausing while the pointer or focus is
inside it. Order: unlocked microapps, then the newest recent skills from Contentful,
then locked microapps. The one microapp, Total Compensation (WHATS_NEW_MICROAPPS),
carries a "Microapp" pill, a "What's a microapp?" popover, and a "Set up in Claude Code"
button that copies /carta-compensation-app. It is unlocked when get_current_user
reports has_ctc: true; otherwise it is locked and links to the Total Compensation demo
page (tagged utm_campaign=carta-home-whatsnew-total-compensation) with no set-up
button. The skills are pluginPrompt entries from the prompts space with a go-live date
in the last 60 days, shown only when has_cap_table is true, and skipped when the skill
is not listed in the Skill Directory, when the Skill Directory file opts it out (null
or "whatsNew": false), when it is the microapp's own skill, or when its prompt is
already in Suggested for you. A skill whose directory entry has whatsNewCopy shows that
outcome headline and body; otherwise its prompt is the headline over a stock line. The
copy button always copies the prompt. The WHATS_NEW cards in the config paint at load and stay
whenever no profile arrives (no connector, a failed or unanswered get_current_user),
when no product flag is known, or when Carta supplies nothing; they pass the same Skill
Directory checks and follow the same copy rule (a card's body shows only when its skill
has no whatsNewCopy). Each item's preview is a static picture; WHATS_NEW_SKILL_OUTPUTS says
which kind (document, register, spreadsheet, chart, or an answer in chat) a skill gets.live-content.js replaces them with live Contentful entries tagged
NEWS_TAG. Every failure path keeps the static cards, so the row is never empty..claude-plugin/skill-directory.json: the build bakes them in,
and skill-directory.js swaps in the published copy from plugin:list:skills when the
page opens, so a skill that ships later appears without a rebuild. Any failure keeps
the baked list. See docs/skill-directory.md in the marketplace repo for the entry
format.Every prompt names the company, because a copied prompt lands in a chat that has no page
context. The foot of each drill-down page, the directory's copy buttons and the WHATS_NEW
cards write it as a {{COMPANY}} placeholder, which resolvePrompt() fills with the
built-for company's name (or "this company" when it is somehow blank). The Suggested for
you pads write it as a [[COMPANY]] blank instead (see Suggested for you above), and Copy takes
whatever text is in the box. Keep either form a standalone noun —
for {{COMPANY}}, never {{COMPANY}}'s — so the fallback still reads as a sentence. [square brackets] mark a
value the user fills in.
Each dashboard's prompt sits at the foot of its page, not on its tile: the user has
just read the data there, so that is where the same question carries into chat. The
prompts live in DASHBOARD_PROMPTS in the config, keyed by page id. fullPagePrompt()
returns an empty string for a key it doesn't know, so a mistyped page id renders nothing
and fails silently — test_every_drill_down_page_has_a_prompt_that_resolves keeps the
template, the config and the call sites in agreement.
Every card fetches live data on open, and every card has three distinct states: loading, error, and empty (see "Data sources" below).
The artifact resolves the runtime bridge once with await claude.use("mcp"), then calls
mcp.callTool(CARTA_MCP_SERVER, "<tool>", args). CARTA_MCP_SERVER is the Carta
connector's display name — the {{CARTA_MCP_SERVER_JSON}} placeholder in the page's
config block, which the build script (or you, for the shell page) fills in as a JSON string. The runtime addresses connectors by display name only, never by a UUID.
Every tool below must appear in the publish call's capabilities.mcp grant, or the call
rejects with not_in_manifest:
cap_table_chart — renders the ownership composition barcall_tool — the non-deprecated dispatcher for every other colon-namespaced command
(cap_table:get:..., cap_table:list:...) that the cards use, plus
marketing:list:content / marketing:get:asset_data for the Plugin news row and
marketing:list:content for What's new's recent skills. The marketing commands only
exist on some environments; a missing one leaves the static news cards in place and
What's new on its microapp or fallback cards.read_tool — carries plugin:get:version for the update banner, plugin:list:skills
for the Skill Directory, and plugin:get:artifact_bundle for the shell page's body, CSS and JS. It runs reads without asking the viewer, so neither check
interrupts the page loadget_current_user — called once; its profile supplies recommendations for Suggested
for you and has_ctc / has_cap_table for What's newtrack_ui_event — relays the page's UI events to Snowplow, called by the vendored trackerThe deployed artifact is assembled from source parts in resources/ by
scripts/build_artifact.py. Do NOT read or edit the assembled HTML — you never need
the full file in context. Edit the small source file for what you're changing:
| File | What it holds | Edit it to… |
|---|---|---|
resources/captable-home.config.js | all page content: DIR_CATEGORIES (directory categories: id, name, tagline), CAP_PROMPTS (Suggested for you pads + dedupe topics), DASHBOARD_PROMPTS (one per drill-down page, keyed by page id), WHATS_NEW (fallback cards), WHATS_NEW_MICROAPPS, WHATS_NEW_SKILL_OUTPUTS, NEWS_TAG | change the directory's categories, the capability, dashboard or what's-new prompts, or which Contentful tag feeds Plugin news |
resources/captable-home.app.js | shared/core runtime logic (_mcp, _mcpResultCandidates, _mcpErrorMessage, format helpers, fullPagePrompt/fpCopyPrompt, the baked company constants + selectCompany, loadCompanyData, tab switching, Skill Directory render, fallback empty states) | change behavior for anything not yet split into its own file |
resources/app/ownership.js | the ownership composition bar (drawOwnershipChart + ownershipLegendHtml, both used by the Cap table page) + the Fully diluted summary strip, all from cap_table_chart; the categorical palette and its surface/label color helpers; the shared statTile helper; and applyAmountRaised, which dashboards.js calls with the financing currency | change how the stacked bar, its legend, the FD stat tiles, the dilution meter, or the amount-raised currency logic render |
resources/app/option-pool.js | Option pool tile (one meter per plan) + its full-page per-plan table | change option-pool rendering |
resources/app/stakeholders.js | Stakeholders tile (total stat tile + bar per type) + its full-page by-type table | change the stakeholder count/breakdown rendering |
resources/app/drafts.js | Drafts tile + full-page table; merges the two draft_sets calls | change how merged drafts render |
resources/app/dashboards.js | the Cap table and Round history tiles, openDashboardPage/closeDashboardPage and every open*Page() entry point, plus the one paged financings read that feeds both the round history and the FD summary's currency | change the cap-table or round-history dashboards, or how any drill-down page opens |
resources/app/capabilities.js | Suggested for you — editable prompt cards, category chips, typing-in blanks, copy; and the page's one get_current_user call (fetchUserEnrichment) that feeds this row and What's new | change how prompt cards are chosen or rendered |
resources/app/whats-new.js | What's new — carousel engine, item selection, microapp and skill previews | change how the carousel picks, orders or renders items (edit the microapp and fallback cards in the config) |
../../.claude-plugin/skill-directory.json | the Skill Directory's entries, keyed by skill: category (a DIR_CATEGORIES id), name, order, prompts, optional tag ("App" shows the Microapp pill), whatsNew (false keeps the skill out of What's new) and whatsNewCopy (the headline and body What's new shows for the skill); null opts a skill out of both | change which skills show or their example prompts — no rebuild needed once published |
resources/app/skill-directory.js | reads the published directory (plugin:list:skills), validates it, keeps each skill's baked tag / whatsNew / whatsNewCopy when the server omits them, and re-renders over the baked list | change how the published list is merged or when it loads |
resources/app/version-check.js | update banner: stays quiet for a week after the build (BUILT_AT), then reads the published version, compares, renders/dismisses | change the banner copy or when it appears |
resources/app/live-content.js | Plugin news — live Contentful fetch, adapters, asset resolution; and _listWhatsNewPrompts, the Contentful fetch behind What's new's skills | change which content types render or how news cards look |
resources/app/tour.js | the first-visit guided tour: TOUR_STEPS (each step's element id, title and copy), the spotlight and tooltip, and its CaptableHome.Tour.Start / .Next / .Skip events; it opens once per browser (localStorage captable-home-tour-v1) | change the tour's steps or copy |
../../.claude-plugin/skill-versions.json | this skill's version + release headline | bump on every user-visible change — see Versioning |
resources/captable-home.css | styles (Ink tokens) | change appearance |
resources/captable-home.template.html | the head, the config block (window.CAPTABLE_HOME: every per-company and per-build value) + injection markers | change the head or the config block |
resources/captable-home.body.html | the page's body markup (no placeholders) | change page structure |
resources/bundle.json | the body, CSS and JS parts in load order, as paths inside the skill as carta-mcp serves it (vendor/ is the plugin's vendor/) | add, remove or reorder a part |
resources/captable-home.loader.js | the shell page's loader: cache, plugin:get:artifact_bundle, digest check, inject, retry | change how the shell loads its parts |
resources/captable-home.shell.html | generated: the template's head and config block, with the loader as the body | never by hand — run uv run scripts/build_artifact.py --write-shell after you change the template or the loader |
resources/captable-home.tracker.js | inlined @carta/mcp-ui-tracker browser bundle (window.mcpUiTracker) | re-run the library's build:browser and re-copy the output if the tracker source ever changes |
App-layer JS assembles into a single classic (non-module) <script> tag — no bundler,
no runtime import/export. New feature files get added to the js list in
resources/bundle.json and concatenated in order. Card fetch/render functions are declared
with function name() {} (hoisted), so loadCompanyData in captable-home.app.js can
call them regardless of concatenation order.
But top-level const/let are not hoisted. One script means one shared scope, so a
module's constants are still in the temporal dead zone while an earlier file's top-level
code runs. Calling a later module's function from captable-home.app.js's init block
throws ReferenceError the moment that function reads one of its own constants — and it
takes the whole page with it. Two rules follow:
capabilities.js, whats-new.js, version-check.js, live-content.js,
skill-directory.js).const is a
parse-time SyntaxError that kills every card at once; test_bundle_parses catches it.The build inlines captable-home.body.html → <!-- __CAPTABLE_HOME_BODY_HTML__ -->,
captable-home.css → /* __CAPTABLE_HOME_CSS__ */, and every JS part of bundle.json, in
its order, → /* __CAPTABLE_HOME_JS__ */ as one script (the tracker, the chart bundle, the
config and the app files). The shell's loader joins the same parts the same way. Then the
build fills the config block: {{CARTA_MCP_SERVER_JSON}}, the company, the baked Skill
Directory and its opted-out skills, the version, the build id and the build time
(BUILT_AT), producing one self-contained HTML. No part holds a per-company value, so
carta-mcp can serve the same parts to every shell page.
A deployed artifact is a frozen copy. Nothing updates it in place. The version lives in the plugin's registry, keyed by this skill:
// plugins/carta-cap-table/.claude-plugin/skill-versions.json
{ "carta-captable-home-build": { "version": "0.1.0", "headline": "…" } }
It sits there rather than beside the skill because carta-mcp reads it from the published
mirror, and a skill that has not opted into publishing never reaches that mirror —
whereas .claude-plugin/ is plugin-level metadata and is always published.
This is not the plugin's own version. carta-cap-table publishes many releases
across ~30 skills. The update banner is keyed to this skill's number so it fires only
when this artifact changed — app/version-check.js reads version from the
plugin:get:version response and must never compare against the plugin_version that
rides along beside it.
So: change anything under resources/, bump this skill's entry in the same PR. CI
enforces it (.forgejo/scripts/validate-artifact-version-bump.py).
| Bump | When | User sees |
|---|---|---|
| patch | the default — copy tweak, style nudge, refactor, bug fix | nothing |
| minor | new card, new data, changed behaviour a user would want to know about | banner |
| major | rebuild genuinely required | banner |
Start at patch and stay there unless you can name what the user gains. If you cannot write a headline a customer would care about, that is the signal: ship patch.
headline is one line describing what changed. It is the text the banner shows, so write
it for the customer. CI rejects a minor/major bump whose headline is empty or still
describes the previous release.
Run both checks before building, and stay quiet about them when they pass:
${CLAUDE_PLUGIN_ROOT}/references/gate-has-artifact-tool.md — can this session publish at all?${CLAUDE_PLUGIN_ROOT}/references/gate-carta-connector-name.md — the connector name the page will call.Both sit in the plugin's references/ directory — ${CLAUDE_PLUGIN_ROOT}/references/,
alongside the other plugin-wide references. They are not under this skill's own
references/. Read them by that exact path; don't search for them.
This is a live artifact: the rendered HTML calls Carta at runtime through claude.use("mcp"), so it needs both.
Connector check — run it before publishing, and stay quiet when it passes. welcome runs once per conversation. If this conversation already called welcome, call only list_accounts. If not, call welcome, then list_accounts. Use your own prefixed tool names (mcp__<prefix>__welcome). An observed call is what makes the grant honest: publish without one and the platform warns that the page is "published against an unobserved interface". It does not verify the display name — nothing in this session can — so the name still comes from list_connectors. If either call errors, see Error Handling. If both succeed, say nothing about them.
One connector answers the company and gets baked in — they must be the same one.
The page hard-codes two values that only work as a pair: the corporation pk, resolved
here by list_accounts, and the connector display name, published in Step 3. A user with
both Carta and Carta (Test) installed has two connectors matching
mcp__*Carta*__list_accounts, so the glob can resolve the company on one environment
while list_connectors hands you the name of the other. The page then asks production
for a Test corporation and every card fails for every viewer.
So when list_connectors returns more than one connected Carta entry, ask with
AskUserQuestion which one this page is for before calling welcome / list_accounts
— the gate's Step 2 table says the same, and it is not optional here. Then make every
call in Step 0 and Step 0b through that connector's own prefix, and pass that
name as --mcp-server in Step 1 and as server in Step 3. Never resolve the company
through one prefix and publish against another name.
The page carries one company, so settle it before building. Reuse the same
list_accounts response the connector check above already made — same connector
prefix, and detail: "full" is required ("summary" returns blank names). Keep the accounts whose id starts
corporation_pk:. Do not filter on type === "company": a corporation that can hold,
or that sits under a parent org, is typed fund and still has a cap table.
list_accounts with
search: "<name>" and take the match. search is matched server-side across every
account they can reach; the unsearched response is a single page capped at 200 accounts
ordered by legal name, so a company further down the alphabet is only reachable this way.list_accounts with search: "<that name>" and take the match. Ask nothing. A company
chosen in an earlier run does not count.AskUserQuestion. Never guess: guessing publishes a page
titled for the wrong company.Carry forward the company's name and its bare pk — id with the
corporation_pk: prefix stripped. The build rejects a still-prefixed id.
Asked to open or find Home, not build it? Skip Step 1 and run Step 2 now, then Step 2b.
<slug> is the company name lowercased with non-alphanumerics collapsed to -, so two
companies never write over each other's file.
Run this as its own command on one line, with the script path exactly as written and every
argument quoted. Don't chain anything before or after it (no mkdir … &&): a chained command
needs approval. Do not search for the script; where Bash is available, it reaches this path,
Cowork included:
uv run "${CLAUDE_PLUGIN_ROOT}/skills/carta-captable-home-build/scripts/build_artifact.py" --mcp-server "<CARTA_MCP_SERVER>" --corporation-id "<bare corporation pk from Step 0b>" --company-name "<company name from Step 0b>" --out "<outputs-directory>/captable-home-<slug>.html"
uv (the skill comes from the Carta connector)Use this branch only when this session has no Bash tool or no uv. Do not run the build.
Write the small shell page instead. When it opens, it gets its body, CSS and JS from
carta-mcp through read_tool (plugin:get:artifact_bundle), so it is the same page, and it
always runs the newest parts. It needs no version and no build time.
Read ${CLAUDE_PLUGIN_ROOT}/skills/carta-captable-home-build/resources/captable-home.shell.html.
When the skill comes from the Carta connector, read it as the resource
skill://carta-captable-home-build/resources/captable-home.shell.html. Do not search for it.
Replace each placeholder in the shell text. Change nothing else. A JSON string has its
quotes, a \" for each " and a \\ for each \, and < as \u003c, > as \u003e
and & as \u0026:
| Placeholder | Value |
|---|---|
{{PAGE_TITLE}} | Carta Home - <company name>, with & as &, < as < and > as > |
{{CARTA_MCP_SERVER_JSON}} | the connector name from Step 0, as a JSON string: "Carta" |
{{CORPORATION_ID}} | the bare corporation pk from Step 0b |
{{COMPANY_NAME_JSON}} | the company name as a JSON string: "Acme, Inc." |
Write the result to <outputs-directory>/captable-home-<slug>.html. Then go to Step 2.
Artifact({action: "list", scope: "mine"})
Look for an artifact titled exactly Carta Home - <Company>. If one is there, keep its
url — Step 3 passes it so the page redeploys in place. If there is none, omit url: this
company gets its own artifact. An artifact for a different company is not a match — reusing
its url would overwrite that company's page.
A bare Carta Home with no company suffix is a page from before the title carried the
company. Its favicon says which skill built it: 📊 is a cap-table page, 🏠 is
carta-investors' firm dashboard — never redeploy over a 🏠, it would replace a firm's
dashboard with this cap table. A 📊 one was built for some company and the listing cannot
say which, so do not assume it is this one: ask with AskUserQuestion whether to redeploy
over it or publish a new page, and pass its url in Step 3 only if the user says it is this
company's.
If the user asked to open or find Home ("open cap table home", "where's my cap table home", "open Carta Home for ") — not to build, rebuild or deploy — and Step 2 found this company's Home, do not rebuild. Send this as the whole reply, and ask no question:
Here's your Carta Home for : <Carta Home link, titled with the artifact's name>
Tip: click its title and choose Pin to keep it one click away. Or just say "Open cap table home" anytime.
The user came to find Home, so the link is the answer; a question or pop-up here pulls their attention away from it before they've opened it. Don't suggest a newer version exists; the page's own update banner tells users when a rebuild is worth it, and "Rebuild cap table home" still works if that's what they meant. If they then ask how to pin it, give "Keeping Carta Home handy" below.
A bare Carta Home 📊 page from Step 2 counts only if the user confirms it is this
company's. If Step 2 found no Home for this company, say so and build it (Step 1, then
Step 3 onward).
One call either way. action defaults to "publish", so it is omitted below; url is
the only difference between a first publish and a redeploy.
Artifact({
file_path: "<outputs-directory>/captable-home-<slug>.html",
url: "<url from Step 2 — omit entirely on a first publish>",
description: "Cap table home for <Company> — a fully diluted summary, and Cap table, Round history, Option pool, Stakeholders and Drafts dashboards, plus Suggested for you, What's new, Plugin news, and a Skill Directory.",
favicon: "📊",
label: "Redeployed from skill bundle",
capabilities: {
mcp: {
servers: [
{
server: "<CARTA_MCP_SERVER>",
tools: ["cap_table_chart", "call_tool", "read_tool", "get_current_user", "track_ui_event"]
}
]
}
}
})
No
titlehere, and do not add one. The tool reads the title out of the file's<title>tag and uses itstitleparameter only when the file has none — so atitlepassed alongside a built page is silently dropped.build_artifact.pystampsCarta Home - <Company>into the tag from--company-name, which is why the page and the name it publishes under cannot disagree. For the shell page,{{PAGE_TITLE}}sets the tag. If the artifact comes out named wrong, the build is wrong: check what Step 1 printed or wrote, not this call.Anything the page calls that is missing from
toolsrejects withnot_in_manifest.list_accountsis not in the grant: the skill resolves the company at build time and the page never calls it. Keepfaviconstable across redeploys — users find the tab by its icon — and keep the title stable for a given company: it is the per-company lookup key Step 2 matches on. Restate the wholecapabilitiesobject every time: a non-empty object replaces the stored grant, so a tool you leave out is revoked.
Give the user the artifact's URL, name the company it is built for, and tell them it is live. Name the Carta connection it calls too when they have more than one — that is the only place a viewer can catch a page pointed at the wrong environment before opening it. The first open asks the viewer to consent to the Carta connector; until they accept, every card shows its no-connector state. If they want another company, say so plainly: run this skill again for that company and they get a second artifact.
Then ask with AskUserQuestion (or as a plain-text list), passing each option's label
and description exactly as below:
If Step 2 left a bare Carta Home behind — the user said it wasn't this company's — say so
too: it is an older page, and they can either rebuild for whichever company it holds or
delete it from their artifact gallery.
Last verified: 2026-09-28. Nothing can pin an artifact for the user, so show them where.
If you have a show_widget tool, call it with the SVG below as widget_code, unchanged.
If you don't, or it fails, skip the sketch silently — never tell the user it couldn't be
drawn. Either way, send the text below as the whole reply, with nothing before or after it.
<svg viewBox="0 0 680 330" xmlns="http://www.w3.org/2000/svg" font-family="inherit">
<style>.l{fill:var(--p);font-size:14px}.s{fill:var(--s);font-size:13px}.box{fill:none;stroke:var(--t);stroke-width:1.5}.bar{fill:var(--t);opacity:.3}</style>
<rect x="20" y="20" width="640" height="260" rx="12" class="box"/>
<rect x="36" y="34" width="250" height="30" rx="8" fill="var(--bg2)" stroke="var(--text-accent)" stroke-width="1.5"/>
<text x="50" y="54" class="l">Carta Home - Your Company ⌄</text>
<rect x="36" y="74" width="190" height="186" rx="10" fill="var(--bg2)" stroke="var(--t)"/>
<rect x="50" y="90" width="120" height="7" rx="3" class="bar"/>
<rect x="50" y="110" width="100" height="7" rx="3" class="bar"/>
<rect x="50" y="130" width="130" height="7" rx="3" class="bar"/>
<rect x="50" y="150" width="90" height="7" rx="3" class="bar"/>
<rect x="44" y="168" width="174" height="30" rx="6" fill="none" stroke="var(--text-accent)" stroke-width="1.5"/>
<text x="58" y="188" class="l">Pin</text>
<rect x="50" y="212" width="110" height="7" rx="3" class="bar"/>
<rect x="50" y="232" width="80" height="7" rx="3" class="bar"/>
<rect x="250" y="80" width="390" height="180" rx="8" fill="var(--t)" opacity=".08"/>
<text x="290" y="54" class="l">1. Click the Carta Home title at the top</text>
<text x="290" y="186" class="l">2. Choose Pin</text>
<line x1="286" y1="182" x2="222" y2="183" stroke="var(--t)" stroke-dasharray="3 3"/>
<text x="290" y="208" class="s">Or: click ⋮ next to Carta Home in your sidebar → Pin</text>
<text x="20" y="310" class="s">Rough sketch — can't find it? Type "Open cap table home" in any chat.</text>
</svg>
Text to send:
Pin it With Carta Home open, click its title at the top and choose Pin. Or click ⋮ next to Carta Home in your sidebar → Pin.
Bookmark it The link stays the same, even after a rebuild:
Tell Claude Type "Open cap table home" in any chat.
Keep the pin steps here; Step 2b's one-line tip must say the same thing. When the app's menus change, update the sketch and the text together and bump the date.
| Card | Backing command |
|---|---|
| Cap table dashboard (tile, stacked bar and table) | cap_table_chart — one call, held in _capTableChartData, feeding all three plus the FD summary's share counts |
| Round history dashboard | cap_table:list:financings with size 100, read page by page (after = next) while has_next is true, at most 5 pages; past the cap the tile and the page say "Showing the latest rounds only." — one row per share class or note block, latest closing_date first, carrying closing_date, original_issue_price, shares_issued, post_money, cash_raised (one amount per currency) and summary.total_cash_raised. |
| Suggested for you | get_current_user — recommendations, filtered to entries that are not is_skill_gap and carry a recommended_prompt |
| What's new | the same get_current_user profile (has_ctc unlocks the microapp, has_cap_table gates the skills), plus marketing:list:content with content_type: pluginPrompt, space: prompts, newest goLiveDate first |
| Update banner | plugin:get:version via read_tool, with plugin + skill arguments |
| The shell page's body, CSS and JS | plugin:get:artifact_bundle via read_tool, with plugin + skill: the parts resources/bundle.json lists. The page keeps them in localStorage and sends their build_id as if_build_id on each open; it runs kept parts only when the answer is unchanged and their sha256 is the build_id. The shell bakes an empty Skill Directory, so the directory comes from plugin:list:skills |
| Skill Directory | baked from .claude-plugin/skill-directory.json at build time, then plugin:list:skills via read_tool with plugin — entries at the plugin's stable tag, only for published skills. skills: null or an unusable list keeps the baked one |
| Plugin news | marketing:list:content (tag NEWS_TAG, tag_source: "metadata") then marketing:get:asset_data per image. Images must arrive as data: URIs — the sandbox CSP is img-src 'self' data:, so a remote asset URL renders nothing |
| Ownership composition bar (on the Cap table page) | cap_table_chart — chart_data.share_classes and chart_data.warrant_blocks by fully_diluted_ownership, chart_data.option_plans by outstanding_ownership + available_ownership, largest first and capped at six segments, plus "Rest of the company" when chart_data.totals.total_fully_diluted_ownership is less than the whole |
| Fully diluted summary | cap_table_chart — chart_data.totals for share counts, or total_fully_diluted_ownership when every share class row's quantity_semantics is PERCENT or INVESTED_CAPITAL (same call again, no extra fetch), upgraded by the Round history dashboard's cap_table:list:financings response, which the dashboard hands over via applyAmountRaised — one currency renders plainly, more than one renders a per-currency breakdown (never summed), none/failure keeps the unitless fallback |
| Option pool | cap_table:list:equity_plans with size: 100 (403 for non-staff users falls back to a plain "not available for your role" state, not an error banner) |
| Stakeholders | cap_table:list:stakeholders with size: 1 and fields: ["id"] — no search param, no names/PII; the card reads only summary.count and summary.by_relationship. Relationship names vary per corporation, so they are always iterated, never matched against a hardcoded enum |
| Drafts | cap_table:list:draft_sets called twice — once per required security_type (certificate, option_grant) — and merged; one call can fail without blocking the other |
| The company itself | none at runtime — baked in at build time. The skill resolves it once with list_accounts in Step 0 (see there) |
cap_table:get:cap_table_summary does not exist ("Unknown command") — never reference it.
Required inputs: the company and the Carta connector. Step 0b resolves the company and
asks with AskUserQuestion when there is more than one. Step 0 takes the connector name
from list_connectors and asks when more than one Carta entry is connected.
AI computation: No — the page shows live Carta data. Publishing changes nothing in Carta.
| Situation | What to do |
|---|---|
welcome or list_accounts errors in Step 0 | Tell the user Carta isn't responding and stop. Do not publish. |
| The shell page shows "Carta Home could not load" | carta-mcp did not send the page's parts. Check that read_tool is in the grant (Step 3). Do not write the parts into the page. |
build_artifact.py exits with an error | Fix the argument it names (a still-prefixed corporation_pk: id is the usual one) and run it once more. If it fails again, show the error and stop. |
A card fails with scope_required, 403 or "response too large" | The card keeps its fallback state. Do not rebuild for it. |
build_artifact.py produces a complete, self-contained live artifact — CSS + config +
app inlined, fully self-contained — Chart.js is vendored at the plugin level (plugins/carta-cap-table/vendor/chart.umd.min.js) and inlined at build time. The runtime CSP allows no external
script, style or connect host, so a CDN reference blocks silently and the charts never draw.resources/ (see the
source-layout table above), then re-run build_artifact.py. Never hand-edit the
assembled HTML.resources/app/capabilities.js (opens in a new tab)resources/app/dashboards.js (opens in a new tab)resources/app/drafts.js (opens in a new tab)resources/app/live-content.js (opens in a new tab)resources/app/option-pool.js (opens in a new tab)resources/app/ownership.js (opens in a new tab)resources/app/skill-directory.js (opens in a new tab)resources/app/stakeholders.js (opens in a new tab)resources/app/tour.js (opens in a new tab)resources/app/version-check.js (opens in a new tab)resources/app/whats-new.js (opens in a new tab)resources/bundle.json (opens in a new tab)resources/captable-home.app.js (opens in a new tab)resources/captable-home.body.html (opens in a new tab)resources/captable-home.config.js (opens in a new tab)resources/captable-home.css (opens in a new tab)resources/captable-home.loader.js (opens in a new tab)resources/captable-home.shell.html (opens in a new tab)resources/captable-home.template.html (opens in a new tab)resources/captable-home.tracker.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
27 skills in this plugin
/carta-boardroomBoard consents and board members in Carta. See consents and who signed; create, rename, change the date or email, swap grants, send, remind, void, delete. See the board; add, end a term, remove or invite a member again. Each change has a preview./carta-cap-tableAnswer quick questions about one company's cap table, like who owns what. Holds Carta's rules for every cap table answer, and the commands for a single fact or a short answer: one stakeholder, the largest grants or holders, totals of grants, certificates, RSUs, SARs, CBUs, SAFEs, convertible notes or option plans, and rights and preferences. Use when asked "who owns the most", "what percentage of the company do I own", "how many shares does [name] hold", "how many options are outstanding", "how many options are left in the pool", "what is the fully diluted share count", or when no other carta-cap-table skill matches. Also answers total, indirect or look-through ownership through a holding entity (trust, Stichting, SPV, holdco or fund): "direct and indirect holders", "who ultimately owns 25%", "beneficial owners". For every row of a list, a table, a report or a file, for ownership by holder group (founders, investors, employees) and for the liquidation seniority stack, use carta-reporting.npx claudepluginhub carta/plugins --plugin carta-cap-tableOther plugins' skills for the same job