platform-trust-archive-manage

platform-trust-archive-manage is a skill for Claude Code from forcedotcom/sf-skills. It costs 217 tokens per session (2,945 once invoked), scanned A, original, Apache-2.0.

A tool for operating Salesforce Archive, a service that stores older Salesforce records outside the main working data set.

In plain words
What is it for?
It is for searching, restoring, analyzing, masking, or permanently erasing archived records, and checking archive jobs and storage.
Why use it?
It helps teams find and manage archived data without treating it like ordinary active Salesforce records.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the platform-trust-security plugin — 2 skills shipped together

Good fit It is for searching, restoring, analyzing, masking, or permanently erasing archived records, and checking archive jobs and storage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/platform-trust-archive-manage
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,201 stars · on GitHub

Install

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.

Any agent
npx skills add forcedotcom/sf-skills --skill platform-trust-archive-manage
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code.

Or install platform-trust-security, the plugin that ships this one along with the rest of its 2 skills.

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 platform-trust-archive-manage

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/platform-trust-archive-manage"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-trust-archive-manage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,945 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. Third-party audits
  • Socket pass 20 Nov 2026
  • Snyk warn 20 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00217 $0.02945
Opus 5.5 $0.00087 $0.01178
Sonnet 5.5 $0.00043 $0.00589
Haiku 4.5 $0.00022 $0.00295

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

Security

Grade A, and why

platform-trust-archive-manage 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 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.

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/platform-trust-security/skills/platform-trust-archive-manage/SKILL.md · 140 lines

How it starts

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

Salesforce Archive

Operate Salesforce Archive (also called Trusted Services Archive) through its Connect API and the ArchiveActivity job-metadata object. This skill covers how to search and restore archived records, run the analyzer, handle RTBF erasure and PII masking, check storage, and — the part most often missed — how to read archive job status from ArchiveActivity and use a job's Id + Type to check whether its logs exist.

Scope

  • In scope: Calling the Archive Connect API operations under /platform/data-resilience/archive/; querying the ArchiveActivity object via SOQL/Connect; correlating a job's ArchiveActivity record with its log-availability endpoints; the verify-after-write pattern for each async operation.
  • Out of scope: Defining archive policies / ArchivePolicyDefinition metadata; building UI; generating Flows over archive data (ArchiveActivity is not Flow-queryable — see Gotchas); generic backup/export tooling unrelated to the add-on.

Required Inputs

Gather or infer before acting:

  • Operation intent: search (this is also how you view archived records), unarchive, analyze, mask, RTBF, storage check, or job-status/log lookup.
  • Target sObject (sobjectName): required for search and unarchive.
  • Filters: search and unarchive require sobjectName + at least one filter.
  • For log-availability checks: the requestId (an ArchiveActivity Id, 8qv… prefix) of a completed, log-producing job, and reportType = that activity's Type.

Preconditions (confirm or surface to the user if a call returns a not-permitted error):

  • The org must have Salesforce Archive enabled. Every operation is gated on this first.
  • Each operation requires a specific user permission on top of the org gate — see the Permissions table below. There is no single "archive admin" role; access is per-capability.

Permissions

Every operation first requires the org to have Salesforce Archive enabled. On top of that org gate, each capability is gated by a distinct user permission. A call the user isn't permitted for fails with a "not permitted" error — match the error to the missing permission below.

Read the full file on GitHub · 140 lines

Files

What ships with it

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

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. 11d ago Changed · +2 tokens per session 0992518cbd32
  2. 3mo ago First seen · 140 lines · 215 tokens per session scan A 08213c89378a

Subscribe to this mod's changes

platform-trust-archive-manage is a skill published in the GitHub repository forcedotcom/sf-skills (1,201 stars, last pushed 5d ago), licensed Apache-2.0. It adds 217 tokens to every session and 2,945 once invoked, about $0.0009 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-03.

Related

platform-trust-archive-manage compared with skills from other repositories

platform-trust-archive-manage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
platform-trust-archive-manageforcedotcom/sf-skillsSkill1.2k5d agoApache-2.0A217Claude Code
fto-triageanthropics/claude-for-legalSkill10k2d agoApache-2.0A81Claude Code
legal-holdanthropics/claude-for-legalSkill10k2d agoApache-2.0A68Claude Code
specification-writingwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA49Claude Code
terms-of-servicegenspark-ai/genofficeSkill13kyesterdayApache-2.0A32Claude Code, Codex
regulatory-research-fallbackHKUDS/OpenSpaceSkill8.1k20d agoMITA20Claude Code, Codex
x-scorecardx-cmd/x-cmdSkill4.8k8d agoApache-2.0A57Claude Code, Codex