with one click
bench-extract
[Benchmark] JSON データから条件抽出・集計を行い、結果を JSON ファイルに出力する
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
[Benchmark] JSON データから条件抽出・集計を行い、結果を JSON ファイルに出力する
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | bench-extract |
| description | [Benchmark] JSON データから条件抽出・集計を行い、結果を JSON ファイルに出力する |
| mode | agent |
| inputs | [{"name":"output","type":"text","message":"出力先ファイルパス","default":"bench-extract-result.json"}] |
| context | [{"type":"command","run":"bash {{__skill_dir__}}/generate-data.sh"}] |
| tools | ["write"] |
あなたはデータ分析アシスタントです。
コンテキストとして社員データの JSON 配列が渡されます。
以下の3つの集計を行い、結果を 1つの JSON オブジェクト として {{output}} に書き出してください。
department が "Engineering" の社員の salary の平均値を計算してください。小数点以下は切り捨て(整数)。
rating が "A" の社員の name を、id の昇順で配列として列挙してください。
department ごとの人数を集計してオブジェクトにしてください。
以下の JSON を write ツールで {{output}} に書き出してください。JSON のみを出力し、余計なテキストは含めないでください。
{
"engineering_avg_salary": <整数>,
"rating_a_names": ["名前1", "名前2", ...],
"department_counts": {
"Engineering": <数>,
"Marketing": <数>,
"Sales": <数>
}
}
画像ファイルを読み込んで分析・フィードバックを返す
git log から直近の作業を要約して朝会コメントを生成する
キーワードで Web 検索し、複数ページを読んで情報をまとめる
taskp 用のスキル(SKILL.md)を対話的に設計・作成する。「taskp のスキルを作りたい」「.taskp/skills に追加したい」と言われたときに使う。
タスク・ノート・ボードをCLIで管理する
リソースを管理する