Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Jaganpro/sf-skills --skill sf-ai-agentforce-gridgit clone --depth 1 https://github.com/Jaganpro/sf-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jaganpro/sf-skills/sf-ai-agentforce-grid)<a href="https://agentmods.dev/skills/jaganpro/sf-skills/sf-ai-agentforce-grid"><img src="https://agentmods.dev/badge/skills/jaganpro/sf-skills/sf-ai-agentforce-grid/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jaganpro/sf-skills/sf-ai-agentforce-grid"><img src="https://agentmods.dev/badge/skills/jaganpro/sf-skills/sf-ai-agentforce-grid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00165 | $0.03240 |
| Opus 5 | $0.00082 | $0.01620 |
| Sonnet 5 | $0.00033 | $0.00648 |
| Haiku 4.5 | $0.00016 | $0.00324 |
Grade C, and why
sf-ai-agentforce-grid scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- If the user is on Windows and a Unix installer fails, do the equivalent setup natively instead of insisting on `curl | bash`. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- If the user is on Windows and a Unix installer fails, do the equivalent setup natively instead of insisting on `curl | bash`. How it starts
The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on 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
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 249 B
- CREDITS.md 1.8 KB
- LICENSE 1.0 KB
- README.md 5.1 KB
- references/apply-grid-examples.md 4.1 KB
- references/grid-recipes.md 2.9 KB
- references/limitations-and-findings.md 6.9 KB
- references/mcp-tool-map.md 2.4 KB
- references/windows-and-auth.md 2.0 KB
- scripts/grid_api_request.mjs 1.2 KB runs code
- scripts/grid_rest_utils.mjs 5.0 KB runs code
- scripts/grid_smoke_test.mjs 1.5 KB runs code
- scripts/worksheet_to_rows.mjs 2.0 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 274 lines · 165 tokens per session scan C a53674dc9fcd
sf-ai-agentforce-grid is a skill published in the GitHub repository Jaganpro/sf-skills (423 stars, last pushed 4mo ago), licensed MIT. It adds 165 tokens to every session and 3,240 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…