本文へ移動
cccskills
無料GitHub で公開

box

Search, read, upload, download, move, rename, delete, restore, and share Box content; manage comments and metadata.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md4.4 KB
  • connector_auth_config.yaml773 B
  • manifest.yaml4.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Box

Use /opt/hatch/bin/box-cli to access Box.

Connect

Run /opt/hatch/bin/box-cli status. If disconnected, run /opt/hatch/bin/box-cli authorize-url and share the returned connect_url as Connect Box. A fresh connection requests read-only access. Wait for browser consent, then check status again.

Before an operation that may need broader Box access, run /opt/hatch/bin/box-cli status --for-command <command-or-method>. For a hosted MCP operation, pass its exact tool name instead of call-tool. When scope_status is not_granted, copy the returned scope_add_url exactly and post it on its own line as [Additional Box access](<scope_add_url>) so the client renders the native access button. Wait for consent, then retry the original operation. Never construct an authorization URL or substitute a raw Box scope. The operation also fails closed with the same method-bound link if its required scope is absent. OAuth access does not replace Muse approval.

Use

Run list-tools for available MCP tools, their argument schemas, and Muse permissions. Use those schemas and IDs returned by Box in call-tool. get_file_content reads document text. Downloads and changes ask for Muse approval by default.

/opt/hatch/bin/box-cli list-tools
/opt/hatch/bin/box-cli call-tool --name who_am_i --arguments-json '{}'

# Browse the root folder.
/opt/hatch/bin/box-cli call-tool --name list_folder_content_by_folder_id \
  --arguments-json '{"folder_id":"0","limit":20}'

# Search for PDFs.
/opt/hatch/bin/box-cli call-tool --name search_files_keyword \
  --arguments-json '{"query":"project plan","file_extensions":["pdf"],"limit":10}'

# Inspect file metadata.
/opt/hatch/bin/box-cli call-tool --name get_file_details \
  --arguments-json '{"file_id":"<file_id>","fields":["name","size","permissions"]}'

# Read document text.
/opt/hatch/bin/box-cli call-tool --name get_file_content \
  --arguments-json '{"file_id":"<file_id>"}'

# Create a folder.
/opt/hatch/bin/box-cli call-tool --name create_folder \
  --arguments-json '{"name":"Project notes","parent_folder_id":"<folder_id>"}'

# Upload a text file.
/opt/hatch/bin/box-cli call-tool --name upload_file \
  --arguments-json '{"file_name":"notes.txt","file_content":"Meeting notes","parent_folder_id":"<folder_id>"}'

# Post a comment.
/opt/hatch/bin/box-cli call-tool --name create_file_comment \
  --arguments-json '{"file_id":"<file_id>","message":"Ready for review."}'

Use the file commands below for local-file uploads, full downloads, moves, renames, and deletion. update-folder and delete-folder take --folder-id. Use upload-version to replace an existing file's contents; its required --name also renames the file. Run <command> --help for options.

/opt/hatch/bin/box-cli download --file-id <file_id> --output workspace/report.pdf
/opt/hatch/bin/box-cli upload --input workspace/report.pdf --name report.pdf --parent-folder-id <folder_id>
/opt/hatch/bin/box-cli update-file --file-id <file_id> --name renamed.pdf --parent-folder-id <folder_id>
/opt/hatch/bin/box-cli delete-file --file-id <file_id>

Downloads overwrite the output file. Deletion is permanent when Box trash is disabled; deleting a nonempty folder requires --recursive. list-trash returns retained items; pass next_marker as --marker to page. Use restore-file or restore-folder to recover them. Their --fallback-parent-folder-id applies only if the original parent no longer exists.

Downloads report the saved path and byte count; other results appear under result. ok: false means the operation failed. REST commands make one attempt: retry a download later if Box returns HTTP 202 (file not ready), and run refresh on HTTP 401 before retrying. Read-only hosted MCP requests refresh and retry once after HTTP 401. A hosted MCP write is never automatically replayed after it is sent: if it returns HTTP 401, first check Box to see whether the change applied, then run /opt/hatch/bin/box-cli refresh and retry manually only if needed. Reconnect Box only if refresh fails. Do not retry an access-denied operation through another command.

/opt/hatch/bin/box-cli refresh refreshes the connection. /opt/hatch/bin/box-cli disconnect disconnects Box from Muse.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

The user's synced Apple Health (HealthKit) data: daily metrics (steps, distance, calories, heart rate, HRV, VO2max), sleep sessions (stages, quality, efficiency), and workouts.

日本語の概要は準備中です。原文の説明を表示しています。

obra/muse-skills182026年10月11日 更新

Create, read, edit, or manipulate Word documents (.docx) and Word templates (.dotx). Use whenever a build task's artifact kind is document with the default docx output, or the task mentions a Word doc, .docx, or .dotx, extracts or reorganizes content from one, inserts or replaces images, does find-and-replace in one, or works with tracked changes (redlines) or comments. Covers python-docx generation, raw OOXML editing of existing files, document structure and formatting, and render verification. Not for PDFs, spreadsheets, or Google Docs.

日本語の概要は準備中です。原文の説明を表示しています。

obra/muse-skills182026年10月11日 更新

Build or revise a plain markdown file (md) deliverable such as notes, a README, meeting minutes, documentation, or text the user will edit or paste elsewhere. Use whenever a build task's artifact kind is markdown. Covers markdown formatting conventions and read-back verification.

日本語の概要は準備中です。原文の説明を表示しています。

obra/muse-skills182026年10月11日 更新

Build, revise, or manipulate a fixed-layout PDF (report, guide, one-pager, printable document). Use whenever a build task's artifact kind is pdf, a document build's output format is pdf, or the task reads, merges, splits, crops, or fills an existing PDF, including fillable AcroForms. Covers authoring the print-CSS HTML source, rendering, the geometry and validation gates, existing-PDF manipulation and form filling, and delivery under workspace/your_files.

日本語の概要は準備中です。原文の説明を表示しています。

obra/muse-skills182026年10月11日 更新

Build or revise a slide deck (pptx by default; pdf or html on request). Use whenever a build task's artifact kind is presentation, or the user asks for a deck, slides, or a presentation. Covers per-slide HTML authoring, the StylePlan theme system, font embedding, deck assembly, render gates, and the PPTX export.

日本語の概要は準備中です。原文の説明を表示しています。

obra/muse-skills182026年10月11日 更新

Create, read, edit, fix, or clean spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use whenever a build task's artifact kind is spreadsheet, or the task names a spreadsheet file and wants something done to it or produced from it, including restructuring messy tabular data into a proper workbook. Covers openpyxl generation, formulas and recalculation, editing existing workbooks, and the validation gates. Not for tasks whose deliverable is a document, report, or web page that merely contains a table.

日本語の概要は準備中です。原文の説明を表示しています。

obra/muse-skills182026年10月11日 更新

obra のスキルをすべて見る

このスキルの問題を報告する