• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLKnowledge Workproductivity

carta-discover-commands

プラグイン
carta-cap-table
ソース
GitHub で見る ↗
説明

**メタディスカバリーのみ** — ユーザーが「どのような株主構成管理(企業の株式や所有権の分配を追跡・管理するツール)のツールやコマンドが使えるのか」と困っているときに、利用可能な機能を説明するスキルです。 株主構成管理に関するトピック(利害関係者、資金配分、権利確定スケジュール、SAFE契約、約束手形、企業評価、所有権、配分構造、資金調達、保有状況など)が名指しされたリクエストには、**絶対にこのスキルを使わないでください**。ユーザーの表現があいまいであっても、これらは常に直接的なデータ請求です。該当する専門スキルが優先されます。

原文を表示

META-DISCOVERY ONLY — answers the question "what cap-table tools or commands exist?" when the user is lost about what's available. NEVER use this skill for any request that names a cap-table topic (stakeholders, grants, vesting, SAFEs, notes, valuations, ownership, waterfall, financing, exposure, etc.) — those are always direct data requests, even if the user phrases them vaguely. The matching specialist skill wins every time over this one.

ユースケース
  • 株主構成管理ツールの機能を知りたい
  • 使えるコマンドを確認したい
  • 利用可能な機能を説明してほしい
本文(日本語訳)

<!-- carta:instrumentation-fallback --> <重要> _instrumentation_v2 はCartaスキルの利用状況を匿名で記録するテレメトリ(利用状況の自動追跡)です。Carta MCPツールを呼び出す際には必ず含めてください。プラグインのフックがツール実行時に上書きするため、常に送信しても安全です。形式は以下の通りです: _instrumentation_v2: {"skills": ["<plugin>:<skill>", ...], "model": "<model-id>", "surface": "<value>"}

skills はセッション全体で累積します。これまでに読み込まれたCartaスキルをすべてリストアップします(このツール呼び出しを担当するスキルだけではなく)。各項目を "plugin:skill" のように名前空間で区別し、古い順に並べて、最後に最近使用したスキルを置きます。Cartaスキル(carta-cap-table:*、carta-crm:*、carta-investors:*)のみをリストアップしてください。Carta以外のプラグインのスキルは含めないでください。

surface はあなたが使用しているClaude環境です:"chat"(claude.aiまたはClaudeアプリ。Coworkモード以外の通常のチャット)、"cowork"(Coworkモード)、"code-terminal"、"code-desktop"、または "excel"。該当する環境がない場合、または特定できない場合は完全に省略してください。推測や不正確な値を入力しないでください。 </重要>

<!-- Part of the official Carta AI Agent Plugin -->

コマンド検索

特定のスキルでカバーできないユーザーのリクエストがあるとき、コマンドレジストリ(登録済みコマンド一覧)を使って利用可能なコマンドを検索します。この環境で以前に discover を呼び出していれば、完全なレジストリがディスクにキャッシュ(一時保存)されているはずです。まずそのキャッシュを読み込み、見つからない場合だけネットワークにアクセスしてください。

ステップ 0 — キャッシュされたコマンドレジストリを読み込む(これを最初に実行)

プラグインの PostToolUse フック(ツール実行後の処理)は、discover 呼び出しの後に完全なコマンドレジストリを ${CLAUDE_PLUGIN_DATA}/cache/commands.json に書き込みます。MCPを呼び出す前に読み込んでください:

cat "${CLAUDE_PLUGIN_DATA}/cache/commands.json" 2>/dev/null || true

ファイルが存在し有効な場合は、それをコマンドリストとして扱い、使用前に以下の項目を確認してください:

  • 有効期限 — JSONに cached_at のISO形式のタイムスタンプがあります。cached_at が 24時間以上前 の場合、キャッシュを古いと判定してステップ 1 に進んでください(これはウェルカムメッセージ/アカウント情報キャッシュと同じ24時間の有効期限と一致します)。
  • バージョン — JSONに plugin_version があります。セッション開始時に注入された <carta-plugin version=… /> タグのプラグインバージョンと一致しない場合、キャッシュを古いと判定してステップ 1 に進んでください。
  • 形式 — コマンドリストは commands キー(配列)の下にあります。ファイルが空、解析不可、または commands がない/空の場合、ステップ 1 に進んでください。

キャッシュが有効で最新の場合は、ステップ 1~2 のネットワーク呼び出しをスキップしてください。キャッシュされた commands 配列から最適なコマンドを直接選び(ライブの search_tools 結果と同じ name / description / inputSchema フィールド)、ステップ 3 に進んでください。これにより、準備できたセッション時のネットワーク往復を1回削減できます。

ステップ 1 — 関連コマンドを検索(キャッシュ未記載または古い場合のみ)

search_tools({"query": "<ユーザーのリクエストから抽出したキーワード>"})

ユーザーの意図を捉えたキーワードを使ってください(例:「評価額」「ストックオプション」「セーフ(新興企業向け投資契約書)」「出資者」)。

ステップ 2 — 最適なコマンドを選択

返されたツールを確認します。各ツールには以下が含まれます:

  • name:call_tool に渡すツール名(例:cap_table__get__stakeholders)
  • description:ツールが返す内容
  • inputSchema:必須および任意パラメーター

ステップ 3 — 実行

call_tool({"name": "<tool_name>", "arguments": { ...パラメーター }})

ほとんどのコマンドには corporation_id(法人ID)が必要です。持っていない場合は list_accounts から取得してください。

原文(English)を表示

<!-- carta:instrumentation-fallback --> <IMPORTANT> _instrumentation_v2 is anonymous Carta skill-usage telemetry. ALWAYS include it in your Carta MCP tool-call arguments — the plugins' hooks overwrite it when they run, so always sending it is safe. Shape: _instrumentation_v2: {"skills": ["<plugin>:<skill>", ...], "model": "<model-id>", "surface": "<value>"} skills is cumulative for the session: list every Carta skill loaded so far, not only the one driving this call. Namespace each entry "plugin:skill" and keep them oldest-first, with the most recently used skill last. List only Carta skills (carta-cap-table:*, carta-crm:*, carta-investors:*) — never skills from non-Carta plugins. surface is the Claude surface you are running in: "chat" (claude.ai or the Claude app, i.e. regular chat, not Cowork), "cowork" (Cowork mode), "code-terminal", "code-desktop", or "excel". Omit it entirely if none of those describe your surface or you cannot tell — do not guess and do not invent another value. </IMPORTANT>

<!-- Part of the official Carta AI Agent Plugin -->

Discover Commands

Use the command registry to find available commands when no specific skill covers the user's request. A prior discover call in this environment caches the full registry to disk — read that cache first and only hit the network on a miss.

Step 0 — Read the cached command registry (do this first)

The plugin's PostToolUse hook writes the full command registry to ${CLAUDE_PLUGIN_DATA}/cache/commands.json after any discover call. Read it before making any MCP call:

cat "${CLAUDE_PLUGIN_DATA}/cache/commands.json" 2>/dev/null || true

If the file exists and is valid, treat it as the command list and validate it before use:

  • Freshness — the JSON has a cached_at ISO timestamp. If cached_at is more than 24 hours old, treat the cache as stale and fall through to Step 1 (this matches the 24h TTL the welcome/accounts caches use).
  • Version — the JSON has a plugin_version. If it does not match the running plugin version (see the <carta-plugin version=… /> tag injected at session start), treat the cache as stale and fall through to Step 1.
  • Shape — the command list lives under the commands key (an array). If the file is empty, unparseable, or commands is missing/empty, fall through to Step 1.

When the cache is valid and fresh, skip Steps 1–2's network call — pick the best-matching command directly from the cached commands array (same name / description / inputSchema fields as the live search_tools result) and go straight to Step 3. This removes a network round-trip on warm sessions.

Step 1 — Search for Relevant Commands (cache miss / stale only)

search_tools({"query": "<keyword from user's request>"})

Use a keyword that captures the user's intent (e.g. "valuation", "grant", "safe", "stakeholder").

Step 2 — Pick the Best Match

Review the returned tools. Each has:

  • name: the tool name to pass to call_tool (e.g. cap_table__get__stakeholders)
  • description: what it returns
  • inputSchema: the required and optional parameters

Step 3 — Execute

call_tool({"name": "<tool_name>", "arguments": { ...params }})

You still need corporation_id for most commands — get it from list_accounts if you don't have it.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。