ramp-complete-expenses
Find and complete requested revisions and missing items on your transactions — receipts, memos, accounting categories, funds, and attendees. Use when…
от CognitionAI★ 42 звезды на GitHub
Установить ramp-complete-expenses в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Non-Negotiables
- Pass
--rationaleon every command — it is a required field on these agent-tools (a non-empty string, max 1024 chars). With--json, supply it as a"rationale"key in the body. Omitting it returnsHTTP 422 (DEVELOPER_INVALID_SCHEMA), in both agent and human modes. - Scope to the user's own transactions by default (
--transactions_to_retrieve my_transactions) unless they explicitly request broader access. - Only the acting cardholder can complete a transaction revision. Do not attempt revision completion as an admin, manager, or copilot on the cardholder's behalf.
- Show the transaction details before editing. Never blind-edit.
- Never upload a receipt without confirming the match — wrong receipt on wrong transaction is worse than no receipt.
- For bulk edits or receipt sweeps, present the plan and confirm before executing.
- Use
ramp transactions missing {uuid}as the reliable check for whether a receipt is attached — it returnsmissing_receipt: true/falsein real time. Thereceipt_uuidsfield in the list response can be used as a quick filter, but it may be stale (e.g., remaining null even after a successful upload+attach). - Receipt file upload is CLI-only. CLI uploads must be base64-encoded; accepted types are PNG, JPEG, PDF, HEIC, and WEBP.
- MCP users must upload receipts through the Ramp web or mobile app, or forward them from their work email to
[email protected]. Do not callupload-receipt-filefrom MCP. - The
--user_submitted_fieldsflag tracks provenance — include it to mark which fields the user explicitly provided vs agent-inferred. - All CLI flags use underscores, not hyphens (e.g.,
--from_date,--transaction_uuid).
--rationale is required
Every command in this skill maps to an agent-tool endpoint that requires a
rationale: a non-empty string (max 1024 chars) explaining why you are making
the call. Pass it as --rationale "...", or include a "rationale" key in the
--json body. It is required for both agent (--agent) and human
(agent=false) invocations — omitting it is the #1 cause of HTTP 422 errors on
these tools. The examples below all include it; keep it on every call.
Workflow
Revision-request tasks
When GetAttentionFeed / ramp tasks list returns
TRANSACTION_REVISION_REQUESTED, preserve the task's transaction UUID and
revision request context. Inspect the live transaction, show the requested
changes, and get the cardholder's explicit confirmation before editing.
- Fix every requested agent-editable field with the applicable workflow below. A successful field edit does not itself complete the revision request.
- Re-read the transaction and its missing items. If a requested field still needs user-only work, give the user the returned Ramp link and stop; do not complete the revision prematurely.
- Ask the cardholder for, or have them approve, a nonblank completion reason summarizing how the request was resolved.
- Complete the revision for that same transaction.
MCP:
CompleteTransactionRevision(
transaction_uuid="{transaction_uuid}",
reason="Added the requested receipt and corrected the department",
rationale="Complete the cardholder's resolved transaction revision"
)
CLI:
ramp transactions complete-revision {transaction_uuid} \
--reason "Added the requested receipt and corrected the department" \
--rationale "Complete the cardholder's resolved transaction revision" --agent
Treat the success response's sanction-lift status PENDING_VERIFICATION as an
instruction to verify, not as evidence that a card is unlocked. Poll
GetAttentionFeed / ramp tasks list and ListCards with a finite bound (at
most three rechecks in the current run). On every attention-feed attempt, follow
every section's cursor chain until next_cursor is null and require the number
of unique hydrated task UUIDs to equal each section's total_count; otherwise
the attempt is incomplete and cannot prove the revision task is absent. If a
section's total_count changes between pages, restart that bounded attempt from
the first page rather than combining two snapshots. Success requires a fully
accounted feed in which the same revision task has disappeared
and the exact sanctioned card reports is_spendable: true. If the bound is
exhausted, report the live task, active_locks, and blocking_task_count; do
not say the revision restored card spending.
If revision completion returns:
CompleteTransactionRevisionNotFoundError, re-check the transaction UUID from the task context.CompleteTransactionRevisionPermissionDeniedError, stop and explain that the acting cardholder must complete their own revision.CompleteTransactionRevisionFailedPreconditionError, re-read the attention feed and transaction state. This also covers a replay after the revision is already complete; do not retry it as a new completion event.- `CompleteTransactionRevisionInternalE
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ramp-complete-expenses?
Find and complete requested revisions and missing items on your transactions — receipts, memos, accounting categories, funds, and attendees. Use when: 'transaction revision requested', 'fix a rejected expense', 'missing receipts', 'upload receipt', 'attach receipt', 'receipt sweep', 'add memo', 'categorize transactions', 'missing items', 'transaction cleanup', 'fix my transactions', 'set tracking category', 'assign to fund', 'bulk memo update', 'receipt compliance'. Do NOT use for: approving transactions (use ramp-approval-dashboard), vendor documents like W-9s or contracts (use ramp-manage-vendors), or spend reporting (use ramp-spend-analysis).
Как установить скилл ramp-complete-expenses?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ramp-complete-expenses запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…