From carta-cc
Embed documents into the Carta knowledge graph and enrich newly embedded files with spec summaries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/carta-cc:doc-embedThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Embed documents into the Carta knowledge graph, enrich newly embedded files with spec summaries, and update sidecar `.embed-meta.yaml` files.
Embed documents into the Carta knowledge graph, enrich newly embedded files with spec summaries, and update sidecar .embed-meta.yaml files.
Check if .carta/scan-results.json exists and was written less than 1 hour ago (compare run_at timestamp to current time).
carta scan
Uses the installed
cartaCLI. If it isn't on your PATH, runpython -m carta scaninstead (from the repo root).
Identify any files flagged embed_induction_needed in the scan results — these require a sidecar .embed-meta.yaml before embedding.
For each file flagged embed_induction_needed:
.embed-meta.yaml sidecar already exists for the file. Sidecars live under .carta/sidecars/, mirroring the source file's repo-relative path (e.g. docs/reference/foo.pdf → .carta/sidecars/docs/reference/foo.embed-meta.yaml) — they are not colocated beside the file.
slug, doc_type, and status fields.slug: "<kebab-case-filename>"
doc_type: "<inferred from parent directory>"
status: pending
indexed_at: null
chunk_count: null
collection: "<project_name>_doc"
spec_summary: null
notes: ""
Run the embed command:
carta embed
Wait for the command to complete. Capture stdout/stderr. The command will report which files were newly embedded and which were skipped (already up to date).
Parse the output to build a list of newly embedded files.
For each newly embedded document:
.embed-meta.yaml sidecar for the file.spec_summary block appropriate to the document type:
absolute_max, critical_design_rules, pin_assignments, key_sections (all with page citations).overview, key_procedures, warnings, index_sections.summary, key_topics, related_docs.spec_summary back to the .embed-meta.yaml sidecar.status to embedded.used_in in the sidecar: read the referenced document and check for potential spec conflicts. If found, append a TRIAGE entry to docs/BACKLOG/TRIAGE.md:### DOC-NNN [doc-embed] <component>: <short description>
**Source:** doc-embed enrichment (embedded <date>)
**Type:** spec_conflict
**Docs:** `<source_doc_path>` → `<used_in_path>`
**Action:** <specific verification needed, with page citation>
If any TRIAGE entries were written in Step 4, confirm the file was updated and report the count.
Report a summary:
"Embed complete. N files newly embedded, M files enriched, K spec conflicts written to TRIAGE.md."
npx claudepluginhub ian-q/carta --plugin carta-ccFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.