Swapper Deposit
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
Trigger Pattern SPL token CPI transfers, tokenaccount.amount, invoke/invokesigned, Transfer/TransferChecked - Inject Into Lifecycle, External-Env agents
$ npx skills add PlamenTSV/plamen --skill token-flow-tracing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PlamenTSV/plamen token-flow-tracing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/skills/solana/token-flow-tracing .claude/skills/token-flow-tracing && rm -rf skills-srcUse ~/.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/
Install the "token-flow-tracing" agent skill from https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracing into .claude/skills/token-flow-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-flow-tracing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PlamenTSV/plamen --skill token-flow-tracing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PlamenTSV/plamen token-flow-tracing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .agents/skills && cp -r skills-src/agents/skills/solana/token-flow-tracing .agents/skills/token-flow-tracing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "token-flow-tracing" agent skill from https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracing into .agents/skills/token-flow-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-flow-tracing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PlamenTSV/plamen --skill token-flow-tracing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PlamenTSV/plamen token-flow-tracing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/agents/skills/solana/token-flow-tracing .cursor/skills/token-flow-tracing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "token-flow-tracing" agent skill from https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracing into .cursor/skills/token-flow-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-flow-tracing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PlamenTSV/plamen.git --path agents/skills/solana/token-flow-tracing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PlamenTSV/plamen --skill token-flow-tracing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PlamenTSV/plamen token-flow-tracing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/agents/skills/solana/token-flow-tracing .gemini/skills/token-flow-tracing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "token-flow-tracing" agent skill from https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracing into .gemini/skills/token-flow-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-flow-tracing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PlamenTSV/plamen token-flow-tracingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PlamenTSV/plamen --skill token-flow-tracing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .github/skills && cp -r skills-src/agents/skills/solana/token-flow-tracing .github/skills/token-flow-tracing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "token-flow-tracing" agent skill from https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracing into .github/skills/token-flow-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-flow-tracing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PlamenTSV/plamen --skill token-flow-tracing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PlamenTSV/plamen token-flow-tracing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PlamenTSV/plamen.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/agents/skills/solana/token-flow-tracing .opencode/skills/token-flow-tracing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "token-flow-tracing" agent skill from https://github.com/PlamenTSV/plamen/tree/main/agents/skills/solana/token-flow-tracing into .opencode/skills/token-flow-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "token-flow-tracing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
token-flow-tracingTrigger Pattern SPL token CPI transfers, tokenaccount.amount, invoke/invokesigned, Transfer/TransferChecked - Inject Into Lifecycle, External-Env agents
Token Flow Tracing is an agent skill from PlamenTSV/plamen. Trigger Pattern SPL token CPI transfers, tokenaccount.amount, invoke/invokesigned, Transfer/TransferChecked - Inject Into Lifecycle, External-Env agents
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Business, Finance & HR. It works with Solana. The repository describes itself as: Autonomous Web3 security audit agent for Claude Code. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 795962b. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are rust and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Token Flow Tracing loads about 2.6k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 1,113 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from PlamenTSV/plamen at commit 795962b, republished under its MIT licence (© PlamenTSV). 1,113 words, ~2,564 tokens.
.claude/skills/token-flow-tracing/SKILL.md (or your agent's skills folder).Trigger Pattern: SPL token CPI transfers,
token_account.amount,invoke/invoke_signed,Transfer/TransferCheckedInject Into: Lifecycle, External-Env agents
For every token the protocol handles:
Where can tokens enter?
deposit() / stake() instructions - standard entry points via CPI to Token ProgramFor each entry point:
vault.total_value, pool.total_deposited)token_account.amount read directly for calculations? -> Donation attack vectortoken_account.amount compared anywhere?Red flags:
token_account.amount directlyWhere can tokens leave?
withdraw() / unstake() instructionsFor each exit: does the tracked balance decrease BEFORE or AFTER the CPI transfer? For each transfer call: can the source account be underfunded at execution time? (funds deployed externally, locked, or lent out → transfer reverts)
For each transfer instruction: can the source and destination token accounts belong to the same owner/authority, or be the same account? If YES: does a self-transfer update accounting state (fees credited, rewards claimed, snapshots updated, share ratios changed) without net token movement? Flag as FINDING. Note: this check targets accounting manipulation from self-transfers, distinct from the account key uniqueness validation in ACCOUNT_VALIDATION.md's Self-Transfer Risk column.
For protocols handling multiple token types:
Check: If instruction A handles MintX and instruction B handles MintY, can MintX accounts be passed to instruction B's logic?
Can tokens be sent to the protocol's token accounts without calling deposit()?
If YES (almost always YES on Solana):
token_account.amount)If NO:
For EVERY token type the protocol holds, queries, or receives - including SOL lamports:
| Token Type | Can Transfer To Protocol? | Changes Accounting? | Blocks Operations? | Triggers Side Effects? |
|---|---|---|---|---|
| SOL (lamports) | YES (always) | YES/NO | YES/NO | YES/NO |
| {spl_token_a} | YES/NO | YES/NO | YES/NO | YES/NO |
RULE: If ANY transferable token affects state -> analyze: accounting divergence, rent impact, operation blocking, side effect chains.
For each token identified:
| Token | Entry Points | Exit Points | Tracking Var | token_account.amount Used? | Unsolicited Possible? |
|---|---|---|---|---|---|
| [Name/Mint] | deposit, CPI return | withdraw, claim | total_deposited | YES/NO | YES/NO |
For protocols with multiple tokens:
For every CPI call that returns tokens or modifies accounts:
Common mismatches:
Check: invoke_signed(&instruction, &[accounts...]) - verify the target program and returned account state match expectations.
For every CPI transfer to external programs:
| Token / Mint | On Transfer Side Effect | Impact on Protocol |
|---|---|---|
| [Token] | TransferHook executes arbitrary CPI | Potential reentrancy / state corruption |
| [Token] | TransferFee withholds portion | Accounting mismatch (sent != received) |
| [Token] | PermanentDelegate can move tokens | Tokens can leave without protocol consent |
| CPI Call / Event | Side Effect | Token Type Produced | Protocol Handles This Type? | Mismatch? |
|---|---|---|---|---|
| {cpi_call} | {side_effect} | {token_type_or_UNKNOWN} | YES/NO | YES/NO |
RULES: Side effect type != expected -> FINDING. Type UNKNOWN -> CONTESTED (Rule 4). Check BOTH CPI calls AND unsolicited transfers.
// RED FLAG: Direct balance usage - donatable
let rate = ctx.accounts.vault_token.amount / vault.total_shares;
// BETTER: Tracked balance - but verify total_deposited updated on ALL entry paths
let rate = vault.total_deposited / vault.total_shares;When this skill identifies an issue:
**ID**: [TF-N]
**Severity**: [based on fund impact]
**Step Execution**: S1,2,3,4,5,6,7,8,9 | X(reasons) | ?(uncertain)
**Location**: program/src/instructions/file.rs:LineN
**Title**: [Token type] can enter/exit via [path] without [expected accounting update]
**Description**: [Trace the token flow and where it diverges from expected]
**Impact**: [What breaks: exchange rates, user balances, protocol insolvency]CRITICAL: You MUST report completion status for ALL sections. Findings with incomplete sections will be flagged for depth review.
| Section | Required | Completed? | Notes |
|---|---|---|---|
| 1. Token Entry Points | YES | Y/X/? | |
| 2. Token State Tracking | YES | Y/X/? | |
| 3. Token Exit Points | YES | Y/X/? | |
| 4. Token Type Separation | IF multi-token | Y/X(N/A)/? | |
| 5. Unsolicited Transfer Analysis | YES | Y/X/? | |
| 5b. Unsolicited Transfer Matrix (All Types) | YES | Y/X/? | MANDATORY - never skip |
| 6. Token Flow Checklist | YES | Y/X/? | |
| 7. Cross-Token Interactions | IF multi-token | Y/X(N/A)/? | |
| 8. CPI Return Type Verification | YES | Y/X/? | MANDATORY - never skip |
| 9. Transfer Side Effects (Token-2022) | YES | Y/X/? | MANDATORY - never skip |
| 9d. Side Effect Token Type | YES | Y/X/? | MANDATORY - never skip |
TOKEN_2022_EXTENSIONS.md for TransferHook/TransferFee. IF program ID UNVERIFIED -> mark CONTESTED.Sections 8 and 9 MUST produce tabular output even if uncertain. If UNVERIFIED: verdict cannot be REFUTED, use CONTESTED. If side effects UNKNOWN: apply adversarial default and document assumptions.
© PlamenTSV, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in agents/skills/solana/token-flow-tracing of PlamenTSV/plamen.
Open the folder on GitHubat commit 795962b
Token Flow Tracing 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Token Flow Tracing this skillPlamenTSV/plamen | 303 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Swapper Depositswapperfinance/swapper-toolkit | 852 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Drift SDKalsk1992/CloddsBot | 2.9k | 1 repos | ~625 | Automated safety check: Pass | MIT | |
| Prismirfndi/prism-liquidity-agent | 122 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Ansem Cryptoquestflowai/investorskills | 1.9k | — | ~793 | Automated safety check: Pass | MIT | |
| Solana Skillnpc-live/clawfirm | 156 | — | ~1k | Automated safety check: Pass | None |
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
alsk1992/CloddsBot
Drift Protocol perpetual futures trading on Solana (direct SDK)
irfndi/prism-liquidity-agent
Operate Prism, an autonomous Solana DLMM liquidity agent for Meteora pools.
questflowai/investorskills
A skill your agent uses when evaluating crypto narratives, attention rotation, memecoin cycles, Solana-style ecosystem momentum, social distribution, and reflexive retail flows in an Ansem-style…
npc-live/clawfirm
Interact with Solana blockchain via Helius APIs. An agent skill from npc-live/clawfirm.
agiprolabs/claude-trading-skills
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
PlamenTSV/plamen
Prepare Solidity projects for a security audit — test coverage, test quality, NatSpec docs, code hygiene, dependency health, best-practice enforcement, deployment readiness, and project…
PlamenTSV/plamen
Trigger Pattern Always (used by all verifier agents) - Inject Into security-verifier agents (Phase 5)
PlamenTSV/plamen
Trigger Pattern Always (Aptos Move) - foundational security check - Inject Into Breadth agents, depth agents
PlamenTSV/plamen
Trigger Pattern Always (Sui Move) -- foundational security check - Inject Into Breadth agents, depth agents
PlamenTSV/plamen
Trigger Pattern ACCOUNTCLOSING flag detected (close/CloseAccount usage) - Inject Into Breadth agents, depth agents
PlamenTSV/plamen
Trigger Pattern Always required for Solana audits - Inject Into Breadth agents, depth agents
Works with
Categories
Trigger Pattern SPL token CPI transfers, tokenaccount.amount, invoke/invokesigned, Transfer/TransferChecked - Inject Into Lifecycle, External-Env agents. Token Flow Tracing is an agent skill from PlamenTSV/plamen.
Token Flow Tracing fits situations like: pattern SPL token CPI transfers; tokenaccount.amount; invoke/invokesigned; transfer/TransferChecked - Inject Into Lifecycle.
Run `npx skills add PlamenTSV/plamen --skill token-flow-tracing -a claude-code`. Or copy the skill folder (agents/skills/solana/token-flow-tracing in PlamenTSV/plamen) into .claude/skills/token-flow-tracing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PlamenTSV/plamen --skill token-flow-tracing -a codex`. Or copy the skill folder (agents/skills/solana/token-flow-tracing in PlamenTSV/plamen) into .agents/skills/token-flow-tracing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PlamenTSV/plamen --skill token-flow-tracing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/token-flow-tracing, .gemini/skills/token-flow-tracing, .github/skills/token-flow-tracing and .opencode/skills/token-flow-tracing in your project.
SKILL.md names no scripts, command-line tools or credentials: Token Flow Tracing is instructions for the agent only.
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.
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. Review the folder before installing.
Token Flow Tracing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Token Flow Tracing: Swapper Deposit (swapperfinance/swapper-toolkit, 852 stars), Drift SDK (alsk1992/CloddsBot, 2.9k stars), Prism (irfndi/prism-liquidity-agent, 122 stars) and Ansem Crypto (questflowai/investorskills, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PlamenTSV (a GitHub user) maintains it in PlamenTSV/plamen, which has 303 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 26, 2026.
Source: PlamenTSV/plamen on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.