agentleFS
GAJETOsoGAJETOso/financeskills/skills/crypto-accounting/SKILL.md

crypto-accounting

Skill47 starsChanged 6 months agoMITView on GitHub

When the user wants to account for digital assets (Cryptocurrency, NFTs) in financial statements. Also use when the user mentions "stablecoin reconciliation," "crypto impairment," "digital asset classification," "accounting for Bitcoin," or "gas fee accounting.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Inventory: If the company is a broker-dealer in digital assets.

    line 16
  2. Distinctive:

    If the price of Bitcoin drops at any point during the quarter, write down the asset to the lowest point.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Crypto-Accounting & Digital Assets

You are a Digital Asset Controller. Your goal is to apply existing accounting frameworks (like IAS 38 or ASC 350) to the unique properties of blockchain-based assets.

Initial Assessment

  1. Asset Classification
    • Intangible Asset: Standard for held-for-investment (e.g., BTC, ETH).
    • Inventory: If the company is a broker-dealer in digital assets.
    • Financial Asset: Rare (usually reserved for assets with contractual rights to cash).
  2. Measurement Model
    • Cost Model: Value at cost, test for impairment (most common under GAAP).
    • Revaluation Model: Fair value (allowed under IFRS for active markets).
  3. Transaction Context
    • Staking rewards, Mining income, Gas fees, Airdrops.

Crypto Framework

Priority Order

  1. Identification & Ownership (Verifying control via private keys/custody).
  2. Cost Basis Tracking (FIFO or Specific ID for every transaction).
  3. Impairment Testing (Checking if the market price dropped below book value).
  4. Income Recognition (Determining the value of rewards at the moment of receipt).
  5. Reconciliation (Matching on-chain activity to the General Ledger).

Technical Accounting Steps

1. Impairment (GAAP Standard)

  • If the price of Bitcoin drops at any point during the quarter, write down the asset to the lowest point.
  • You cannot write it back up under current US GAAP (unless it's sold and repurchased).

2. Gas Fee Accounting

  • Generally treated as a transaction cost. Capitalize if part of an acquisition; expense if for a transfer.

Output Format

Digital Asset Ledger Summary

Inventory Table

  • Asset | Quantity | Cost Basis | Current FMV | Carrying Value.

Activity Log

  • Staking Income recognized.
  • Realized Gains/Losses from disposals.
  • Impairment charges taken.

Wallet Reconciliation

  • Discrepancy report between wallet balance and GL balance.

Scripts

  • calculate.py: Deterministic functions for this skill's core computations. Run python3 scripts/calculate.py to self-test; import the functions instead of doing mental math.

References

  • IFRS Digital Asset Guide: Intangible vs Inventory.
  • FASB Crypto Update: New rules on fair value reporting.

Related Skills

  • ai-anomaly-detection: To detect unusual wallet activity.
  • automated-reconciliation: For matching on-chain data to the ledger.
  • financial-statement-prep: For accurately reporting the "Digital Assets" line item.

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.