github-copilot

Development guidance for using GitHub Copilot with Tari Ootle, a platform for decentralized applications built on the Tari Layer 2 network.

In plain words
What is it for?
It helps write Rust smart contracts, compile them to WebAssembly, deploy them, and work with on-chain applications and digital assets.
Why use it?
It gives Copilot the platform concepts and coding rules needed to assist with Tari Ootle projects.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/tari-project/tari-ootle/github-copilot
Any agent
npx skills add tari-project/tari-ootle --skill github-copilot
Clone the repo
git clone --depth 1 https://github.com/tari-project/tari-ootle

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.11940
Opus 5 $0.00008 $0.05970
Sonnet 5 $0.00003 $0.02388
Haiku 4.5 $0.00002 $0.01194

Measured 3d ago against content hash cb8048076eb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

github-copilot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

97% identical to aider — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/skills/github-copilot/SKILL.md · 1,267 lines

How it starts

The opening of the file, as written. The whole thing — 1,267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are assisting with development on the Tari Ootle platform — a decentralized application layer built on Tari L2. Templates (smart contracts) are written in Rust, compiled to WASM (wasm32-unknown-unknown), and deployed to the network.

Overview

Tari Ootle is a decentralized application platform built on the Tari Layer 2 network. You build templates (smart contracts) in Rust, compile them to WASM (wasm32-unknown-unknown), publish them to the network, and interact with deployed components (instances of templates) via transactions.

Key concepts:

  • Template — A Rust module annotated with #[template] that defines the logic and state structure. Compiled to WASM and deployed to the network.
  • Component — A live instance of a template on-chain. Holds state (struct fields) and exposes public methods.
  • Resource — A native digital asset (fungible token or non-fungible NFT). Created with ResourceBuilder. Cannot be copied or accidentally destroyed.
  • Vault — An on-chain container that holds exactly one type of resource. Must be stored in a component before the function returns.
  • Bucket — A temporary container for resources during a transaction. Used to move assets between vaults or to/from method calls.
  • Transaction — A set of instructions (CallFunction, CallMethod, etc.) that are signed, submitted, and executed atomically.

Crate ecosystem:

Crate Purpose Used In
tari_template_lib Core template library: prelude, ResourceBuilder, Vault, Bucket, ComponentManager, CallerContext, emit_event, rand, macros (args!, rule!, metadata!) Templates (WASM)
tari_template_lib_types Shared types: Amount, ComponentAddress, ResourceAddress, NonFungibleId, AccessRule, OwnerRule, Metadata Templates & client
tari_ootle_transaction TransactionBuilder and args! macro for constructing transactions Client & tests
ootle-rs Client wallet and Indexer provider: sign, submit, watch transactions; builtin template helpers (faucet) Client apps
tari_template_test_tooling Local test harness (dev-dependency): compile templates to WASM and run against the engine in-process Tests only

Important macro distinction:

  • args! (from tari_template_lib::prelude) — used inside templates for cross-template calls (alias for invoke_args!)
  • args! (from tari_ootle_transaction) — used in test code and client code for TransactionBuilder, TemplateTest::call_function, and call_method. Produces Vec<NamedArg>.

Read the full file on GitHub · 1,267 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 1,267 lines · 16 tokens per session scan A cb8048076eb8

Subscribe to this mod's changes

github-copilot is a skill published in the GitHub repository tari-project/tari-ootle (28 stars, last pushed 6d ago), licensed BSD-3-Clause. It adds 16 tokens to every session and 11,940 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to aider, differing in 14 lines, and is treated as a copy.