Agent skill
extract-blockchain-media
Extract media files (images, videos, documents) from BSV blockchain transactions using the txex CLI tool. Retrieves inscribed ordinals and embedded files.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/extract-blockchain-media
SKILL.md
Extract Blockchain Media
Extract media files from BSV blockchain transactions using txex CLI.
When to Use
- Extract ordinal inscriptions from transactions
- Retrieve embedded images/videos/files from blockchain
- Download NFT assets
- Access on-chain stored media
Usage
# Extract media from transaction ID
bun run /path/to/skills/extract-blockchain-media/scripts/extract.ts <txid>
# Extract to specific output directory
bun run /path/to/skills/extract-blockchain-media/scripts/extract.ts <txid> /path/to/output
What Gets Extracted
The txex tool extracts:
- Images (PNG, JPG, GIF, WEBP)
- Videos (MP4, WEBM)
- Audio files
- Text/JSON data
- Any binary data inscribed in transaction
Output
Files are saved with:
- Original filename (if embedded in tx)
- Auto-detected file extension
- Saved to current directory or specified path
Requirements
txexCLI installed:bun add -g txex- Transaction ID of ordinal/inscription
- Internet connection to fetch from blockchain
CLI Reference
txex <txid> # Extract to current directory
txex <txid> -o /path # Extract to specific path
Common Use Cases
- View NFT Images: Extract ordinal inscription image
- Download Files: Retrieve documents stored on-chain
- Archive Media: Backup ordinals locally
- Content Verification: Check what's actually inscribed
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?