context-slim

Pass

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses the Bash tool to run internal scripts (context-scan.sh, context-guard.sh) for file system discovery, checksum calculation, and backup management. These scripts leverage standard utilities like find, grep, sha256sum, and awk to process project and global configuration files.
  • [PRIVILEGE_ESCALATION]: The skill is capable of modifying the agent's global configuration in ~/.claude, which influences the agent's behavior globally across all repositories. This is a privileged capability; the skill includes safeguards such as requiring a --global flag for such operations and performing mandatory snapshots before any modifications are applied.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes markdown files and rules from the project directory to determine what content to remove or preserve. This represents an attack surface where untrusted data from project files enters the agent's core context. The skill implements 'keep' catalogs and structural exemptions for fenced code blocks and tables to mitigate the risk of corruption or accidental removal of critical instructions.
  • [DYNAMIC_EXECUTION]: The skill orchestrates its workload by spawning subagents (text-optimizer) via the Agent tool and executes hardcoded Python snippets within its Bash scripts to handle JSON data assembly and token count reporting.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 30, 2026, 02:47 PM