Agent skill

Algo Blockchain Basics

by asgard-ai-platform in asgard-ai-platform/skills

Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure.

MITAuto-check passed

Install Algo Blockchain Basics

skills CLI
$ npx skills add asgard-ai-platform/skills --skill algo-blockchain-basics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgard-ai-platform/skills algo-blockchain-basics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/algo-blockchain-basics .claude/skills/algo-blockchain-basics && rm -rf skills-src

Use ~/.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/

Facts

Skill name
algo-blockchain-basics
GitHub stars
242
Token cost
~1.2k tokens
SKILL.md length
444 words
Files
4 (incl. references)
Skills in repo
207
Repo updated
First seen
Licence
MIT

At a glance

Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure.

  • Works in 4 steps: Input Validation → Core Algorithm → Verification → …
  • The user needs to understand blockchain concepts
  • SKILL.md covers Overview, When to Use, Algorithm and Output Format, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Algo Blockchain Basics is an agent skill from asgard-ai-platform/skills. Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure. Use this skill when the user needs to understand blockchain concepts, evaluate whether blockchain fits a use case, or design a blockchain-based solution — even if they say 'how does blockchain work', 'do I need blockchain', or 'distributed ledger'.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `examples/sample_scenario.md`, `references/consensus-comparison.md` and `references/decision-framework.md`).

The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.

When your agent uses it

  • The user needs to understand blockchain concepts
  • Evaluate whether blockchain fits a use case
  • Design a blockchain-based solution — even if they say how does blockchain work
  • Do I need blockchain

Example prompts

  • “how does blockchain work”
  • “do I need blockchain”
  • “distributed ledger”
  • “/algo-blockchain-basics”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Input Validation
  2. Core Algorithm
  3. Verification
  4. Output

What it can do on your machine

Read from SKILL.md and the folder at commit 4e7f4f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Algo Blockchain Basics loads about 1.2k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 444 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.1k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 444 words, ~1,238 tokens.

Download SKILL.mdSave it as .claude/skills/algo-blockchain-basics/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
algo-blockchain-basics
description
Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure. Use this skill when the user needs to understand blockchain concepts, evaluate whether blockchain fits a use case, or design a blockchain-based solution — even if they say 'how does blockchain work', 'do I need blockchain', or 'distributed ledger'.
metadata.category
WP-49 區塊鏈演算法
metadata.tags
blockchain, distributed-ledger, consensus, cryptography

Blockchain Fundamentals

Overview

A blockchain is a distributed, append-only ledger where blocks of transactions are cryptographically linked. Each block contains: transactions, previous block hash, timestamp, and nonce. Consensus mechanisms (PoW, PoS, BFT) ensure agreement without a central authority. Trade-off: decentralization vs performance.

When to Use

Trigger conditions:

  • Evaluating whether blockchain is appropriate for a use case
  • Designing systems requiring distributed trust, immutability, or transparency
  • Understanding blockchain architecture for integration or development

When NOT to use:

  • When a trusted central authority exists and works well (use a database)
  • When performance (thousands of TPS) is the primary requirement
  • When data privacy requires deletion capability (blockchain is append-only)

Algorithm

IRON LAW: Blockchain Is Useful ONLY When You Need TRUSTLESS Consensus
If participants trust each other (or trust a central authority), a
traditional database is faster, cheaper, and simpler. Blockchain's
value proposition is: untrusted parties can agree on state without
an intermediary. If trust already exists, blockchain adds overhead
with no benefit. Ask: "Who doesn't trust whom?" before choosing blockchain.
Phase 1: Input Validation

Assess use case against blockchain decision criteria: multiple untrusting writers? Need for immutability? No trusted central party? Public verifiability required? Gate: At least 3 of 4 criteria met to justify blockchain.

Phase 2: Core Algorithm

Block structure:

  1. Transactions are grouped into blocks
  2. Each block header contains: previous hash, Merkle root of transactions, timestamp, nonce
  3. Hash of block header links it to previous block (chain)
  4. Modifying any past block invalidates all subsequent hashes

Consensus mechanisms:

  • PoW (Proof of Work): miners compete to solve hash puzzle. Energy-intensive, secure.
  • PoS (Proof of Stake): validators stake tokens. Energy-efficient, relies on economic incentives.
  • BFT (Byzantine Fault Tolerance): voting-based, fast finality, requires known validator set.
Phase 3: Verification

Check: is the use case genuinely multi-party with trust deficits? Would a simpler solution (shared database, digital signatures) suffice? Gate: Blockchain justified, appropriate consensus mechanism selected.

Phase 4: Output

Return architecture recommendation with trade-off analysis.

Output Format

json
{
  "recommendation": {"use_blockchain": true, "type": "permissioned", "consensus": "PBFT", "platform": "Hyperledger Fabric"},
  "trade_offs": {"decentralization": "medium", "throughput_tps": 3000, "finality_seconds": 2, "energy": "low"},
  "metadata": {"use_case": "supply chain provenance", "participants": 5, "trust_level": "low"}
}

Examples

Show full SKILL.md (180 more words)Show less
Sample I/O

Input: 5 companies tracking seafood provenance from boat to restaurant Expected: Permissioned blockchain recommended (known participants, no trust, need immutable audit trail). Platform: Hyperledger Fabric or similar.

Edge Cases
InputExpectedWhy
Single company internal useDon't use blockchainTrust already exists internally
Need to delete data (GDPR)Blockchain problematicImmutability conflicts with right to erasure
Public transparency requiredPublic/consortium chainPermissionless or hybrid

Gotchas

  • Blockchain ≠ cryptocurrency: Blockchain is the technology; cryptocurrency is one application. Many blockchain use cases have nothing to do with tokens.
  • Immutability is a spectrum: "Permissioned" blockchains can be rewritten by consortium agreement. True immutability only exists in large public chains.
  • Oracle problem: Blockchain guarantees integrity of data ON the chain. It cannot guarantee the accuracy of data ENTERING the chain from the real world. Garbage in = immutable garbage.
  • Scalability trilemma: Decentralization, security, scalability — pick two. No blockchain optimizes all three simultaneously.
  • Regulatory uncertainty: Legal status of blockchain records, smart contracts, and tokens varies by jurisdiction. Consult legal before production deployment.

References

  • For consensus mechanism comparison, see references/consensus-comparison.md
  • For blockchain decision framework, see references/decision-framework.md

© asgard-ai-platform, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in algo-blockchain-basics of asgard-ai-platform/skills.

  • SKILL.md
  • examples/sample_scenario.md
  • references/consensus-comparison.md
  • references/decision-framework.md

Open the folder on GitHubat commit 4e7f4f8

Compare with similar skills

Algo Blockchain Basics 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.

Algo Blockchain Basics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Algo Blockchain Basics this skillasgard-ai-platform/skills242—~1.2kAutomated safety check: PassMIT
Distributed Triagepytorch/pytorch104k—~2.8kAutomated safety check: PassCustom licence
Agent Consensus Coordinatorruvnet/ruflo74k2 repos~3.2kAutomated safety check: PassMIT
Recursive Decision Ledgeraffaan-m/ECC277k1 repos~701Automated safety check: PassMIT
Logic Explainsickn33/agentic-awesome-skills47k1 repos~894Automated safety check: PassMIT
Distributed Tracingwshobson/agents40k12 repos~527Automated safety check: PassMIT

Similar skills

  • Distributed Triage

    pytorch/pytorch

    Sub-triages issues in the oncall:distributed queue by assigning distributed module labels, routing to sub-oncalls, and marking triaged.

    104k GitHub stars~2.8k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Agent skill for consensus-coordinator - invoke with $agent-consensus-coordinator

    74k GitHub starsUsed in 2 repos~3.2k tokens
    Agent WorkflowsAuto-check passed
  • Run repeated rollouts ("Prime Gauss" style recursive prompting) while keeping an append-only decision ledger of trials, marks, coherence checks, and promotion gates, so recursive confidence never…

    277k GitHub starsUsed in 1 repo~701 tokens
    Business, Finance & HRAuto-check passed
  • Logic Explain

    sickn33/agentic-awesome-skills

    Explain what a specific piece of code actually does for a given input by producing a step-by-step execution trace (interprocedural, with name resolution and type transitions).

    47k GitHub starsUsed in 1 repo~894 tokens
    Auto-check passed
  • Distributed Tracing

    wshobson/agents

    Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks.

    40k GitHub starsUsed in 12 repos~527 tokens
    DevOps & CloudAuto-check passed
  • Party Ledger Reconciliation

    sickn33/agentic-awesome-skills

    Party ledger reconciliation: party type, name and PAN/VAT, ledger against statement balance, difference and reason, duplicates, confirmation status and adjustment.

    47k GitHub starsUsed in 1 repo~5.2k tokens
    Business, Finance & HRAuto-check passed

More from asgard-ai-platform/skills

All 207 skills in this repo
  • Algo Ecom Bm25

    asgard-ai-platform/skills

    Implement BM25 ranking function for e-commerce product search relevance scoring.

    242 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Mfg Cpk

    asgard-ai-platform/skills

    Calculate Cpk process capability index to assess whether a process meets specification requirements.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Price Elasticity

    asgard-ai-platform/skills

    Calculate price elasticity of demand to quantify how price changes affect sales volume.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Bayesian

    asgard-ai-platform/skills

    Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Elo

    asgard-ai-platform/skills

    Implement Elo rating system to rank items or players from pairwise comparison outcomes.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Wilson

    asgard-ai-platform/skills

    Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Algo Blockchain Basics

What does Algo Blockchain Basics do?

Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure. Algo Blockchain Basics is an agent skill from asgard-ai-platform/skills. Explain blockchain fundamentals including distributed ledger architecture, consensus mechanisms, and block structure.

When should I use Algo Blockchain Basics?

Algo Blockchain Basics fits situations like: the user needs to understand blockchain concepts; evaluate whether blockchain fits a use case; design a blockchain-based solution — even if they say how does blockchain work; do I need blockchain.

How do I install Algo Blockchain Basics in Claude Code?

Run `npx skills add asgard-ai-platform/skills --skill algo-blockchain-basics -a claude-code`. Or copy the skill folder (algo-blockchain-basics in asgard-ai-platform/skills) into .claude/skills/algo-blockchain-basics in your project. Claude Code loads it when a task matches its description.

How do I install Algo Blockchain Basics in Codex?

Run `npx skills add asgard-ai-platform/skills --skill algo-blockchain-basics -a codex`. Or copy the skill folder (algo-blockchain-basics in asgard-ai-platform/skills) into .agents/skills/algo-blockchain-basics in your project. Codex loads it when a task matches its description.

Can I use Algo Blockchain Basics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgard-ai-platform/skills --skill algo-blockchain-basics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/algo-blockchain-basics, .gemini/skills/algo-blockchain-basics, .github/skills/algo-blockchain-basics and .opencode/skills/algo-blockchain-basics in your project.

What does Algo Blockchain Basics need to run?

SKILL.md names no scripts, command-line tools or credentials: Algo Blockchain Basics is instructions for the agent only.

Does Algo Blockchain Basics access the network?

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.

Is Algo Blockchain Basics safe to install?

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.

What licence does Algo Blockchain Basics use?

Algo Blockchain Basics is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Algo Blockchain Basics use?

About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.8k tokens, read only when the agent opens those files.

What are the alternatives to Algo Blockchain Basics?

Skills that share tags, products or a category with Algo Blockchain Basics: Distributed Triage (pytorch/pytorch, 104k stars), Agent Consensus Coordinator (ruvnet/ruflo, 74k stars), Recursive Decision Ledger (affaan-m/ECC, 277k stars) and Logic Explain (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Algo Blockchain Basics?

asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 242 GitHub stars. The repository holds 207 skills in this directory. The repository was last updated on June 6, 2026.

Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.