Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script.

Custom licenceAuto-check passedAgent Workflows

Install Agentforce Generate

skills CLI
$ npx skills add SalesforceAIResearch/agentforce-adlc --skill agentforce-generate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SalesforceAIResearch/agentforce-adlc agentforce-generate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SalesforceAIResearch/agentforce-adlc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agentforce-generate .claude/skills/agentforce-generate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agentforce-generate
GitHub stars
114
Used in
1 other repo
Token cost
~7.4k tokens
SKILL.md length
3,306 words
Files
98 (incl. scripts, references, assets)
Skills in repo
2
Repo updated
First seen
Licence
Custom licence

At a glance

Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script.

  • Works in 12 steps: Always --json. ALWAYS include --json on… → Verify target org. Before any org… → Diagnose in proportion to the change.… → …
  • Changes .agent files
  • SKILL.md covers What This Skill Is For, How to Use This Skill, Rules That Always Apply and Task Domains, plus 5 more sections
  • Calls sf and node

What it does

Agentforce Generate is an agent skill from SalesforceAIResearch/agentforce-adlc. Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, reviews, or changes .agent files or aiAuthoringBundle metadata; asks to fix AgentScript, audit an existing agent, run an AgentScript health check, common-pitfall review, or baseline-versus-candidate repair loop; changes a response, action, subagent, route, state flow, or Agent Spec; previews, debugs, deploys, publishes, or tests agents; uses sf agent generate/preview/publish/test; or manages…

Its SKILL.md is about 7.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 99 other files, including scripts, reference files and assets (for example `README.md`, `assets/agent-spec-template.md` and `assets/agents/README.md`).

It sits in Agent Workflows, covering Prompt engineering, CRM management and MCP servers. It works with Salesforce and Model Context Protocol. The repository describes itself as: Agent Development Life Cycle — Build, deploy, test, and optimize Agentforce agents using Claude Code skills and Agent Script DSL.

When your agent uses it

  • Changes .agent files
  • AiAuthoringBundle metadata
  • Asks to fix AgentScript
  • Audit an existing agent

Example prompts

  • “/agentforce-generate”

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Always --json. ALWAYS include --json on EVERY sf CLI command. Do NOT pipe CLI output through jq or 2>/dev/null. Read the full JSON…
  2. Verify target org. Before any org interaction, run sf config get target-org --json to confirm a target org is set. If none configured, ask…
  3. Diagnose in proportion to the change. For syntax or local static defects,
  4. Use a proportionate spec gate. Obtain explicit Agent Spec approval for
  5. Don't stall. After a step completes successfully, announce the
  6. Draft-first lifecycle. During normal authoring, stay in draft iteration
  7. Start with one execution block and no mutable state. A focused agent puts
  8. Use supported control flow. Use the canonical conditional forms and
  9. Action implementation is a user decision. During planning/spec work,
  10. Give each reachable branch one next outcome. Choose exactly one primary
  11. Use portable structural indentation. Generate new .agent files with
  12. Do not let prompt formatting impersonate control flow. Indentation,

What it can do on your machine

Read from SKILL.md and the folder at commit 09bf153. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • sf
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agentforce Generate loads about 7.4k tokens when it runs, and up to ~176k if it reads all its reference files. Until then it costs about 203 tokens; SKILL.md has 3,306 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~203
When it runs · the whole SKILL.md, loaded when a task matches
~7.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~176k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 3,306 words (~7,361 tokens).

“This skill is for developing Agentforce agents, primarily with Agent Script, Salesforce's scripting language for AI agents.”

— opening of SKILL.md by SalesforceAIResearch, Custom licence
name
agentforce-generate
metadata.version
0.11
metadata.domains
Agentforce
metadata.minApiVersion
66.0
metadata.relatedSkills
agentforce-observe, agentforce-test, automation-flow-generate, integration-connectivity-generate, platform-apex-generate, platform-metadata-deploy

Read the full SKILL.md on GitHub

Files

SKILL.md and 97 other files (scripts, references, assets) in skills/agentforce-generate of SalesforceAIResearch/agentforce-adlc.

  • SKILL.md
  • README.md
  • assets/agent-spec-template.md
  • assets/agents/README.md
  • assets/agents/hello-world.agent
  • assets/agents/knowledge-grounded.agent
  • assets/agents/local-info-agent-annotated.agent
  • assets/agents/order-service.agent
  • assets/agents/production-faq.agent
  • assets/agents/production-faq.bundle-meta.xml
  • assets/agents/router-first.agent
  • assets/agents/simple-qa.agent
  • assets/agents/template-multi-subagent.agent
  • assets/agents/template-single-subagent.agent
  • assets/agents/verification-gate.agent
  • assets/agents/voice-knowledge-grounded.agent
  • assets/agents/voice-service-agent.agent
  • assets/bundle-meta.xml
  • assets/invocable-apex-template.cls
  • … and 79 more

Open the folder on GitHubat commit 09bf153

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in SalesforceAIResearch/agentforce-adlc, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agentforce Generate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agentforce Generate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agentforce Generate this skillSalesforceAIResearch/agentforce-adlc1141 repos~7.4kAutomated safety check: PassCustom licence
Pi AgentK-Dense-AI/scientific-agent-skills48k1 repos~2.1kAutomated safety check: PassMIT
Platform Lsp Integrateforcedotcom/sf-skills1.1k—~3.2kAutomated safety check: NotesApache-2.0
Claude Automation Recommenderanthropics/claude-plugins-official38k3 repos~2.7kAutomated safety check: NotesApache-2.0
CC Workflow Studio AI Editorbreaking-brake/cc-wf-studio5.4k—~561Automated safety check: PassCustom licence
Agent Deckasheshgoplani/agent-deck1k—~1.7kAutomated safety check: PassMIT

Similar skills

  • Pi Agent

    K-Dense-AI/scientific-agent-skills

    Builds with and operates Pi, the minimal terminal coding harness.

    48k GitHub starsUsed in 1 repo~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Platform Lsp Integrate

    forcedotcom/sf-skills

    Reference/contract for the Salesforce LSP MCP tools and unavailability handling.

    1.1k GitHub stars~3.2k tokensUpdated 2 days ago
    Sales & SupportAuto-check: notes
  • Claude Automation Recommender

    anthropics/claude-plugins-official

    Official

    Scans a codebase and suggests which Claude Code hooks, subagents, skills, plugins and MCP servers fit its stack, without changing any files.

    38k GitHub starsUsed in 3 repos~2.7k tokens
    Agent WorkflowsAuto-check: notes
  • CC Workflow Studio AI Editor

    breaking-brake/cc-wf-studio

    Creates and edits visual agent workflows in CC Workflow Studio through conversation, with the agent reading and writing the canvas over MCP.

    5.4k GitHub stars~561 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Agent Deck

    asheshgoplani/agent-deck

    agent-deck, the terminal session manager for AI coding agents.

    1k GitHub stars~1.7k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Workflow Schema Tuning

    breaking-brake/cc-wf-studio

    Guides edits to cc-wf-studio's workflow schema so AI agents generate better workflows, treating schema text as prompt engineering rather than validation.

    5.4k GitHub stars~1.3k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from SalesforceAIResearch/agentforce-adlc

  • Agentforce Observe

    SalesforceAIResearch/agentforce-adlc

    Analyze production Agentforce agent behavior using session traces and Data Cloud, and manage Agent Health Monitoring (AHM) alerts.

    114 GitHub starsUsed in 1 repo~5.6k tokens
    Auto-check: notes

Questions about Agentforce Generate

What does Agentforce Generate do?

Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. Agentforce Generate is an agent skill from SalesforceAIResearch/agentforce-adlc. Build, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script.

When should I use Agentforce Generate?

Agentforce Generate fits situations like: changes .agent files; aiAuthoringBundle metadata; asks to fix AgentScript; audit an existing agent.

How do I install Agentforce Generate in Claude Code?

Run `npx skills add SalesforceAIResearch/agentforce-adlc --skill agentforce-generate -a claude-code`. Or copy the skill folder (skills/agentforce-generate in SalesforceAIResearch/agentforce-adlc) into .claude/skills/agentforce-generate in your project. Claude Code loads it when a task matches its description.

How do I install Agentforce Generate in Codex?

Run `npx skills add SalesforceAIResearch/agentforce-adlc --skill agentforce-generate -a codex`. Or copy the skill folder (skills/agentforce-generate in SalesforceAIResearch/agentforce-adlc) into .agents/skills/agentforce-generate in your project. Codex loads it when a task matches its description.

Can I use Agentforce Generate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SalesforceAIResearch/agentforce-adlc --skill agentforce-generate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agentforce-generate, .gemini/skills/agentforce-generate, .github/skills/agentforce-generate and .opencode/skills/agentforce-generate in your project.

What does Agentforce Generate need to run?

Going by SKILL.md and its folder, Agentforce Generate needs the command-line tools its instructions call (sf and node).

Does Agentforce Generate access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agentforce Generate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Agentforce Generate use?

Agentforce Generate has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Agentforce Generate use?

About 7.4k tokens (SKILL.md is roughly 29k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 169k tokens, read only when the agent opens those files.

What are the alternatives to Agentforce Generate?

Skills that share tags, products or a category with Agentforce Generate: Pi Agent (K-Dense-AI/scientific-agent-skills, 48k stars), Platform Lsp Integrate (forcedotcom/sf-skills, 1.1k stars), Claude Automation Recommender (anthropics/claude-plugins-official, 38k stars) and CC Workflow Studio AI Editor (breaking-brake/cc-wf-studio, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agentforce Generate?

SalesforceAIResearch (a GitHub organization) maintains it in SalesforceAIResearch/agentforce-adlc, which has 114 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 12, 2026.

Source: SalesforceAIResearch/agentforce-adlc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.