search-algorand-examples

Searches GitHub for Algorand smart contract examples and code patterns.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/Rudhrakoushik10/RootNode --skill search-algorand-examples-rudhrakoushik10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-algorand-examples
Source: https://github.com/Rudhrakoushik10/RootNode/tree/main/projects/.opencode/skill/search-algorand-examples
Command: npx skills add https://github.com/Rudhrakoushik10/RootNode --skill search-algorand-examples-rudhrakoushik10

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Finding working, vetted Algorand smart contract examples is time-consuming when you need a specific pattern like BoxMap, inner transactions, or ARC-4 methods. This Skill locates relevant implementations from official Algorand Foundation repositories instead of relying on unverified code scattered across GitHub. ## Core Features & Use Cases - Code Pattern Search: Uses GitHub code search to find specific patterns like BoxMap, inner transactions, or GlobalState across algorandfoundation repositories. - File and Directory Retrieval: Fetches specific contract files or lists directory contents from repos like puya-ts and devportal-code-examples. - Repository Discovery: Finds Algorand repositories by topic, language, or organization for broader exploration. - Use Case: When you ask "show me how to use BoxMap in a voting contract", the Skill searches puya-ts examples, retrieves the contract file, and also fetches the corresponding test file to demonstrate correct usage. ## Quick Start Ask the assistant to find an example of a voting contract using BoxMap from the Algorand Foundation repositories.

Frequently Asked Questions about search-algorand-examples

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find Algorand smart contract examples on GitHub?

Use GitHub code search with queries like "BoxMap org:algorandfoundation language:typescript" to find vetted examples. Priority repositories include devportal-code-examples for beginner patterns and puya-ts for advanced TypeScript examples.

How to search for BoxMap usage in Algorand contracts?

Search with github_search_code using the query "BoxMap org:algorandfoundation language:typescript". BoxMap examples are located in puya-ts under examples/voting/ and examples/amm/.

Which Algorand repositories have the best contract examples?

The devportal-code-examples repo offers beginner-friendly TypeScript and Python patterns, while puya-ts and puya contain advanced examples like voting, AMM, and auction contracts. The algokit template repos provide project scaffolding.

Can I find Python Algorand contract examples instead of TypeScript?

Yes, search the algorandfoundation/puya repository instead of puya-ts, or check the projects/python-examples/contracts/ path in devportal-code-examples for beginner Python patterns.

What if GitHub MCP tools are unavailable when searching examples?

Use web search as a fallback with queries like "site:github.com algorandfoundation {pattern} language:typescript", or browse directly to the puya-ts examples directory on GitHub.