agentleFS
AIEngineerXAIEngineerX/chaos-trader/skills/blockchain/chaos-wallet-attribution/SKILL.md

chaos-wallet-attribution

Skill0 starsChanged 2 months agoMITView on GitHub

Use when classifying Solana wallet ownership, funding, transfers, buys, sells, burns, sweepers, or mistaken-transfer claims. Produces evidence-ranked attribution without treating a transfer as a trade or exposing which wallets belong to the user.

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep the user's main-wallet identity private.

    line 36
  2. Distinctive:

    Never upgrade a grade because a narrative is convenient.

    line 61
  3. Distinctive:

    Verify the exact signature and chain.

    line 100
  4. Distinctive:

    Check whether destination is a token account, system account, program, exchange, or known owned wallet.

    line 103
  5. Distinctive:

    Check follow-on movement without assuming control.

    line 104
  6. Very specific:

    Never print private keys, seed phrases, .env values, or keypair paths.

    line 148
  7. Distinctive:

    Do not publish the user's wallet mapping.

    line 149
  8. Distinctive:

    Do not send the user's wallet identifiers to third-party services unless necessary and approved.

    line 150
  9. Distinctive:

    Prefer local/public-chain analysis and redact identity labels in reports.

    line 151
  10. Distinctive:

    Use exact signatures and public addresses only when needed for the user to verify.

    line 168
  11. Distinctive:

    Attribution leaks identity: Use role labels and bounded disclosure.

    line 176
  12. Distinctive:

    Confidence omitted: Every inference needs an evidence grade.

    line 177

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Chaos Wallet Attribution

Classify what a wallet did and how strongly ownership or intent can be inferred. A token balance change is not automatically a buy, sell, endorsement, or position.

Prerequisites

  • The package is installed: pip install chaos-trader (or it came with the Hermes profile).
  • A home exists: chaos onboard was run once (chaos onboard --yes for the defaults).
  • CHAOS_HOME points at that home, or you are inside the Hermes profile, which sets it. Check with chaos --version and chaos help.

Tools

Executable read-only tools for this work. Run them with the chaos verbs below; a script without its own verb runs with chaos run <name>.

  • chaos wallets — smart-wallet discovery status plus the queue of never-scored wallets found via funding/transfer edges; chaos wallets --discover N enriches up to N of them (Helius key needed for the enrichment).
  • chaos run smart_wallet_tracker <wallet> — Helius-only (needs HELIUS_API_KEY): transfer-aware enrichment through the Helius Wallet API; --discovered N enriches never-scored edge-wallets; --top-db N refreshes ranked wallets.
  • chaos run smart_wallet_promoter --raw --write — multi-source promotion verdicts and the discovery queue, written to trading/alpha/smart_wallet_promotions.json under the home.
  • chaos run wallet_scan <wallet> / chaos run wallet_deep <wallet> — Helius-only (they call getTransactionsForAddress and the Helius Wallet API, so a standard Solana RPC fails): focused raw reads for attribution evidence.

Without a Helius key, use chaos token <mint> for holder evidence and the solana skill for single wallet balances and transactions.

Overview

Keep the user's main-wallet identity private. Use labels such as user wallet, isolated risk wallet, funding wallet, or unknown unless the user explicitly authorizes disclosure.

When to Use

Use for:

  • mistaken SOL or token transfer claims;
  • wallet funding provenance;
  • buy versus transfer classification;
  • burner, sweeper, distributor, or deployer relationships;
  • holder-quality analysis;
  • deciding whether an observed wallet is relevant to the user's positions.

Evidence Ladder

Rank each claim:

GradeEvidence
ASigned statement or known ownership mapping plus matching on-chain transaction
BRepeated direct funding/control pattern with timing and transaction evidence
CStrong behavioral linkage but no proof of common control
DWeak heuristic, shared counterparty, or one-off coincidence
UnknownInsufficient or contradictory evidence

Never upgrade a grade because a narrative is convenient.

Transaction Classification

For each relevant transaction determine:

signature
timestamp
source wallet
destination wallet
mint/native SOL
amount
fee payer
programs/instructions
token-account creation/closure
swap route if any
balance deltas
classification
confidence

Allowed classifications:

  • swap_buy;
  • swap_sell;
  • direct_transfer;
  • funding_transfer;
  • distribution;
  • airdrop;
  • burn;
  • liquidity_action;
  • account_close_or_rent_recovery;
  • unknown.

A direct transfer without swap instructions is not a buy or sell.

Mistaken-Transfer Validation

  1. Verify the exact signature and chain.
  2. Confirm source, destination, mint/SOL amount, and timestamp.
  3. Decode instructions, not only balance deltas.
  4. Check whether destination is a token account, system account, program, exchange, or known owned wallet.
  5. Check follow-on movement without assuming control.
  6. Compare against the claimed intended destination only if the user supplies it.
  7. Report recoverability separately from attribution.

Completion criterion: the report states what happened on-chain, what remains unproven, and whether any recovery action exists.

Wallet Relationship Heuristics

Useful but non-conclusive signals:

  • repeated funding from the same source;
  • synchronized creation and transaction timing;
  • identical transaction construction and fee behavior;
  • shared withdrawal source;
  • repeated sweep destination;
  • unique token-account patterns;
  • recurring counterparties.

Weak signals:

  • same popular exchange;
  • same router;
  • same token;
  • similar transaction time during high-volume events;
  • one shared counterparty.

Holder and Position Semantics

Distinguish:

holds token
received token
bought token
sold token
funded position
controls wallet
beneficial owner

These are separate claims. If only received token is proven, do not describe the wallet as a buyer or holder conviction signal.

Privacy Boundary

  • Never print private keys, seed phrases, .env values, or keypair paths.
  • Do not publish the user's wallet mapping.
  • Do not send the user's wallet identifiers to third-party services unless necessary and approved.
  • Prefer local/public-chain analysis and redact identity labels in reports.
  • A wallet the user labels as a separate risk wallet must not be conflated with the user's main wallet.

Output Contract

Finding:
Classification:
Evidence grade:
On-chain facts:
Inference:
Contradictions:
Unknowns:
Privacy treatment:
Recommended next check:

Use exact signatures and public addresses only when needed for the user to verify. Public output should minimize identity linkage.

Common Pitfalls

  1. Transfer equals purchase. Decode swap instructions.
  2. Funding equals ownership. It is evidence, not proof.
  3. Balance equals current position. Account closures, burns, and distributions matter.
  4. One transaction proves a cluster. Require repeated linkage.
  5. Attribution leaks identity. Use role labels and bounded disclosure.
  6. Confidence omitted. Every inference needs an evidence grade.

Verification Checklist

  • Signature and chain are verified.
  • Instructions and balance deltas agree.
  • Transfer, buy, sell, burn, and funding semantics are separated.
  • Ownership/control claims have an evidence grade.
  • Contradictory evidence is surfaced.
  • Which wallets belong to the user remains private.
  • Unknown states remain unknown.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.