dojo-world

Manage Dojo world permissions for namespaces, writers, and owners via CLI and Cairo functions.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Await-0x/stark-tycoon --skill dojo-world-await-0x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dojo-world
Source: https://github.com/Await-0x/stark-tycoon/tree/main/.agents/skills/dojo-world
Command: npx skills add https://github.com/Await-0x/stark-tycoon --skill dojo-world-await-0x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of managing access control, resource registration, and permissions within a Dojo-enabled Starknet world, ensuring secure and efficient operation.

Core Features & Use Cases

  • Permission Management: Grant, revoke, and check owner and writer permissions for contracts and namespaces.
  • Resource Registration: Facilitates the setup and management of resources within the Dojo world.
  • Access Control: Enforces authorization policies for different systems and components.
  • Use Case: When deploying a new game system, use this Skill to grant it the necessary writer permissions for specific models like 'Position' and 'Health' while ensuring it cannot modify world-level configurations.

Quick Start

Grant writer permission to the 'my_game-actions' system for the 'my_game-Position' resource.

Frequently Asked Questions about dojo-world

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

FAQPage Schema
How do I manage access control permissions in a Dojo world on Starknet?

Manage Dojo world permissions by configuring namespace settings, granting writer access, and assigning owner privileges. Use CLI commands and runtime Cairo functions to enforce granular resource access policies for secure on-chain applications.

How do I grant writer permissions to a Cairo contract for a specific Dojo world resource?

Grant writer permissions by using the dojo-world management interface to authorize a specific system, such as 'my_game-actions', to write to target resources like 'my_game-Position'. This ensures the system can modify designated models securely.

What is namespace configuration in Dojo and when do I need it?

Namespace configuration in Dojo defines boundaries for resource registration and access control within a Starknet world. You need it when deploying decentralized applications to isolate systems and enforce specific authorization policies.

Can I restrict a system from modifying world-level configurations in Dojo?

Yes, you can restrict systems from modifying world-level configurations by enforcing granular access control. Grant writer permissions only for specific models like 'Position' and 'Health', ensuring the system cannot alter global settings.

Does dojo-world work with Cairo runtime functions for on-chain authorization?

Yes, dojo-world works with Cairo runtime functions to enable on-chain authorization. It allows developers to check, grant, and revoke owner and writer permissions directly within smart contracts for decentralized governance.