sf-ai-agentforce-grid
БесплатноЗапускает вложенные скриптыНе проверенUse this skill whenever users want to build, inspect, debug, automate, or publish workflows in Agentforce Grid (AI Workbench) using Salesforce plus the Grid…
от Jaganpro★ 420 звёзд на GitHubОб этом скилле
SF AI Agentforce Grid
Overview
This skill helps coding agents work effectively with Agentforce Grid in real Salesforce orgs. It combines Grid MCP workflow guidance, Windows-safe setup and API fallbacks, practical column-design patterns, and tested recipes for building useful worksheets quickly.
Invoke explicitly with $sf-ai-agentforce-grid or, where supported, /sf-ai-agentforce-grid.
This skill should be the default specialist whenever the user wants to go from idea to working Grid workbook quickly, especially if they need one of:
- a working workbook or worksheet created in the org
- a repeatable YAML spec for Grid
- help understanding Grid API behavior in a real environment
- a Windows-safe setup path
- a publishable pattern others can reuse
Quick Start
Confirm Salesforce auth first. Run
sf org list --jsonand make sure the intended org is connected. If needed, runsf config set target-org <alias>.Prefer the Grid MCP path first. Use the Grid MCP for workbook, worksheet, column, cell, metadata, workflow, and URL operations whenever it is available in the current workspace.
Fall back to direct Grid REST only when needed. On Windows, raw
sf api request rest --body ...calls can fail because of JSON quoting behavior in PowerShell. When the MCP path is unavailable or misconfigured, usescripts/grid_api_request.mjsinstead of hand-buildingsf api request restcommands.Read worksheet state from
/worksheets/{id}/data. In Grid APIv66.0, worksheet data is returned viacolumnDatakeyed by column ID. Do not assume arowsarray exists. Usescripts/worksheet_to_rows.mjswhen you need row-oriented output.Run a smoke test before real work when onboarding someone new. Use
scripts/grid_smoke_test.mjsto verify auth, basic metadata, workbook create/delete, and direct REST fallback behavior. The script delegates authentication to Salesforce CLI instead of reading tokens into Node directly.Always leave the user with a clickable way back into Salesforce. Prefer a Grid/Lightning URL helper when available. If you do not have one, provide browser-safe record links using the workbook ID and worksheet ID:
https://<instance>/lightning/r/<workbookId>/viewhttps://<instance>/lightning/r/<worksheetId>/view
First 10 Minutes
When onboarding a new user or a new org, do this exact sequence:
Confirm auth. Run
sf org list --json.Confirm Grid API reachability. Run
node scripts/grid_smoke_test.mjs.Check what the org has. Inspect models, agents, prompt templates, and workbooks.
Pick the workflow pattern. Usually one of:
Object -> Reference -> AIText -> AgentTest -> EvaluationPromptTemplate pipelineInvocableAction test harness
Start with a tiny worksheet. Use 3-10 rows for the first pass.
Read status from worksheet data, not assumptions. Reconstruct rows from
columnData.Only after the small version works, scale it up or convert it to YAML with
apply_grid.
If the user wants to become productive fast, this is the shortest reliable path.
Workflow
1. Verify the environment
- Check the default org with
sf org list --json. - If needed, list orgs with
sf org list --json. - If the user is on Windows and a Unix installer fails, do the equivalent setup natively instead of insisting on
curl | bash. - If Grid MCP is configured per-project, inspect
.mcp.json.
Read references/windows-and-auth.md when setup, auth, or Windows behavior matters.
2. Discover what the org supports
Before building a worksheet, discover live org capabilities instead of guessing:
- Workbooks and worksheets
- LLM models
- Agents and active versions
- Prompt templates
- Invocable actions
- SObjects, fields, Data Cloud dataspaces, and DMOs
Read references/mcp-tool-map.md for the tool surface and grouping.
3. Build Grid worksheets using the reliable composition pattern
For most useful Grid workflows, prefer this shape:
Start with one import/source column. Usually an
Objectcolumn withWHOLE_COLUMN+OBJECT_PER_ROW.Add
Referencecolumns to extract the exact fields you need. This is usually easier and more reliable than referencing deep nested object fields directly from every downstream AI column.Add
AI,Agent,AgentTest,Formula, orEvaluationcolumns that runEACH_ROWacross existing rows.Poll or summarize worksheet status until columns are
Complete.
Before adding many downstream columns, prove that the source column is actually rowified the way you expect. In practice this means:
- Create the source column.
- Add one simple
Referencecolumn such asName. - Read back the worksheet and confirm you see distinct rows, not one repeated record or one array-shaped cell copied across many rows.
- Only then add the AI, Action, PromptTemplate,
Установить sf-ai-agentforce-grid в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sf-ai-agentforce-grid?
Use this skill whenever users want to build, inspect, debug, automate, or publish workflows in Agentforce Grid (AI Workbench) using Salesforce plus the Grid MCP or direct Grid REST calls. Trigger it for Grid workbook creation, worksheet setup, Object/Reference/AI/Agent/AgentTest/Evaluation/PromptTemplate/InvocableAction column design, prompt drafting inside Grid, worksheet execution troubleshooting, Grid YAML `apply_grid` specs, and Windows-specific Grid setup issues. Also use it when users mention AI Workbench, Grid Studio, workbook IDs, worksheet IDs, Grid Connect, or ask for recipes like "top opportunities with AI email drafts", "agent test suite in Grid", or "build this worksheet from YAML". Do not use it for generic Salesforce work unrelated to Agentforce Grid.
Как установить скилл sf-ai-agentforce-grid?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sf-ai-agentforce-grid запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic