feedback

feedback is a command for Claude Code from forcedotcom/sf-skills. It costs 23 tokens per session (1,065 once invoked), scanned A, original, Apache-2.0.

A manual command that records a 1–5 satisfaction rating as local usage telemetry. The rating is buffered and later sent through the plugin's telemetry system when permitted; it does not send free text, paths, code, or organisation data.

In plain words
What is it for?
Use it after using the plugin when you want to submit a numeric rating, subject to the command's eligibility check.
Why use it?
It provides a small, controlled way to report satisfaction without collecting a written response or sending data when telemetry is disabled.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the salesforce-development plugin — 37 skills, 14 commands, 1 agent, 3 MCP servers shipped together

Good fit Use it after using the plugin when you want to submit a numeric rating, subject to the command's eligibility check.

Compare 6 commands from other repositories ↓
About the project

forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.

forcedotcom/sf-skills · 1,104 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add forcedotcom/sf-skills
Claude Code
/plugin install salesforce-development

Made for: Claude Code.

Or install salesforce-development, the plugin that ships this one along with the rest of its 37 skills, 14 commands, 1 agent, 3 MCP servers.

Wrote 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.

agentmods badge for feedback

README.md
[![agentmods](https://agentmods.dev/badge/commands/forcedotcom/sf-skills/feedback/github.svg)](https://agentmods.dev/commands/forcedotcom/sf-skills/feedback)
Your own site
<a href="https://agentmods.dev/commands/forcedotcom/sf-skills/feedback"><img src="https://agentmods.dev/badge/commands/forcedotcom/sf-skills/feedback/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.

agentmods 80×15 button for feedback

Your own site · 80×15
<a href="https://agentmods.dev/commands/forcedotcom/sf-skills/feedback"><img src="https://agentmods.dev/badge/commands/forcedotcom/sf-skills/feedback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,065 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01065
Opus 5.5 $0.00009 $0.00426
Sonnet 5.5 $0.00005 $0.00213
Haiku 4.5 $0.00002 $0.00106

Measured 28d ago against content hash 2172129b3a1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

feedback scanned grade A with 0 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 28d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/builder/salesforce-development/commands/feedback.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Collect a quick satisfaction rating about this plugin as usage telemetry. Like every other event this plugin captures, the rating is buffered locally first, then sent later — at session end, through your connected org, the same pipeline as the rest of this plugin's telemetry — subject to your telemetry settings. This command never sends free text, paths, code, or org data anywhere; the rating is the only thing that goes out.

No matter which outcome below this ends on — ineligible, recorded, skipped, error, or given up after retries — finish with one more line: "Want to share more than a number? Open an issue: https://github.com/forcedotcom/sf-skills/issues/new"

  1. Check eligibility first, before asking anything:

    "${CLAUDE_PLUGIN_ROOT}/scripts/sf-context" feedback-eligibility
    

    This prints {"eligible": true} or {"eligible": false, "reason": "<reason>"} and captures nothing by itself. If eligible is false, do NOT ask for a rating — tell the user plainly why none would be recorded right now, then stop:

    • telemetry_disabled → "Your rating wouldn't be recorded because telemetry is turned off."
    • not_sf_project → "Your rating wouldn't be recorded because this isn't a Salesforce DX project — feedback capture is scoped to project work like the rest of this plugin's telemetry."
    • any other reason (e.g. unavailable) → "Your rating can't be recorded right now."
  2. If eligible, ask for a 1-5 rating (1 = not helpful at all, 5 = extremely helpful), in the chat as a plain question — do NOT use a structured multiple-choice/selection tool for this: a 1-5 scale is 5 explicit values, at or past what that kind of tool allows as explicit options, so reaching for it here can fail outright. If the user's arguments ($ARGUMENTS) already state a number in that range, use it directly and skip the question — no need to narrate that it was already supplied, just move straight to recording it.

    Validate before moving on: if $ARGUMENTS or the user's chat reply isn't an integer 1-5 (e.g. 0, -100, "not sure"), don't send it to feedback-record — ask again for a valid number instead. Give up after 3 total attempts (the initial ask plus 2 re-asks) — don't loop forever. If the 3rd attempt is still invalid, say "No worries — skipping the rating for now. Run /salesforce-development:feedback again anytime." and stop without calling feedback-record. Same if the user says something like "never mind"/"skip"/"cancel" at any point — stop immediately, don't spend the remaining attempts.

  3. Record the rating with a single literal command — no pipe, no shell variable expansion, substituting only the actual numeric rating for <rating>:

    "${CLAUDE_PLUGIN_ROOT}/scripts/sf-context" feedback-record <rating>
    

    This reads the session id itself and is consent-gated and fail-silent like every other telemetry capture in this plugin (it honors SF_DISABLE_TELEMETRY/DO_NOT_TRACK and the /salesforce-development:telemetry off setting). It prints exactly one of:

    • {"result": "recorded"} — the rating was actually written to the local telemetry buffer.
    • {"result": "skipped", "reason": "<reason>"} — nothing was written (same reason vocabulary as step 1, plus "unavailable" for a transient failure).
    • {"result": "error", "reason": "invalid_rating"} — the argument wasn't a bare integer 1-5.
  4. Tell the user exactly what that result was — never assume success:

    • recorded → one concise line, e.g. "Thanks — your rating of 4/5 was recorded."
    • skipped → a short, accurate explanation using the reason (same wording as step 1's mapping, or "Your rating wasn't recorded — telemetry is unavailable right now." for unavailable).
    • error → should be rare, since step 2 already validates the number before it ever reaches this command — but if it happens anyway, say "That wasn't a valid 1-5 rating, so nothing was recorded." and stop; don't silently substitute a number and resubmit on your own.

Read the full file on GitHub · 66 lines

Changes

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.

  1. 28d ago First seen · 66 lines · 23 tokens per session scan A 2172129b3a1b

Subscribe to this mod's changes

feedback is a command published in the GitHub repository forcedotcom/sf-skills (1,104 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 1,065 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.