Excel集計・分析
今すぐ試せる台本どおりのモデルで検証済み各部署から届くExcelを1つにまとめ、差の大きい項目を説明付きで報告する。
誰向けか
財務・経理の担当者
処理の流れ
- 受け取る:依頼を受ける
- 調べる:伝票・Excel、規程・決裁権限表、過去の実績
- 判断する:根拠を添えて案を作る
- 人が確認する:書き込みは承認を待てる
- 書き込む:確認された内容だけ
つなぐシステム
- Excel
- Workflow
- ERP
安全のために
- 頼んだ人の権限の範囲でだけ動く
サインイン状態を確認しています…
プレビュー
サンプル株式会社のエージェントです。内容を確認しました。承認が必要な操作は、確認をお待ちしてから進めます。
- 会社名
- サンプル株式会社
- 承認ルール
- すべての書き込みで承認を待つ
- 口調
- 丁寧
- 返信の言語
- 日本語
- つなぐシステム
- Excel
使っている機能
- 本人の権限で実行
- ファイルの読み取り
- 構造化された出力
実際のソース
tests/gallery/excel-consolidation/agents/excel-consolidation.ts
import { builtinSkill, defineAgent, files, skill } from '@indx-workspace/sdk/define';
export default defineAgent({
name: 'excel-consolidation',
instructions: { file: './excel-consolidation.md' },
model: 'default',
// A run is unattended: without autoApprove the SDK refuses the search and the skill scripts. The
// read-only grants below make the platform deny Bash, so scripts run through `run_skill_script`.
// The only thing a person decides is the mapping plan: the agent saves it with `Write`, and the
// run waits there for an approval (ADR-0145) before it applies the plan.
engine: {
id: 'claude-agent-sdk',
autoApprove: ['mcp__agent-workspace__run_skill_script', 'mcp__agent-workspace__search_files'],
requireApproval: ['Write'],
},
// It runs the two skills' Node scripts, so it needs runCommands, and it writes the consolidated
// workbook to `outputs/` (the folder the run collects), which the backend reads back with
// `runs.outputs`; the answer still carries the report. Finding the workbooks is the platform's
// `search_files` over the granted branch folders; the backend narrows it per person with
// `runs.start({ fileScope })`, so a branch manager's run searches (and gets) only their own branch.
permissions: { readFiles: true, writeFiles: true, runCommands: true },
skills: [builtinSkill('office-reader'), skill('excel-consolidate')],
files: [
files('共通', 'read'),
files('東京支店', 'read'),
files('大阪支店', 'read'),
files('名古屋営業所', 'read'),
files('札幌営業所', 'read'),
files('福岡支店', 'read'),
],
limits: { maxTurns: 30, maxBudgetUsd: 1 },
});ファイル構成
agent-workspace.yaml
agents/
excel-consolidation.md
excel-consolidation.ts
backend/
consolidate.ts
benchmark.ts
data/
access.json
branch-workbooks.ts
mapping-plan.json
共通/
名古屋営業所/
…
evals/
excel-consolidation.yaml
excel-consolidation.approval.test-support.ts
excel-consolidation.conversion.test-support.ts
excel-consolidation.fixture.test-support.ts
excel-consolidation.project.test-support.ts
excel-consolidation.test.ts
skills/
excel-consolidate/
surfaces/
planning.ts