injective-cli

Control the injectived binary to query data, manage accounts, and broadcast transactions on Injective.

5|5|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/InjectiveLabs/agent-skills --skill injective-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: injective-cli
Source: https://github.com/InjectiveLabs/agent-skills/tree/main/skills/injective-cli
Command: npx skills add https://github.com/InjectiveLabs/agent-skills --skill injective-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables developers and operators to interact with the Injective blockchain using the injectived CLI, ensuring consistent wallet handling, endpoint selection, and gas configuration. It consolidates CLI usage into a reliable workflow, reducing setup friction and command-fragment errors.

Core Features & Use Cases

  • CLI-driven blockchain operations: query accounts, manage keys, sign and broadcast transactions, and inspect chain state from the terminal.
  • Command map and reference integration: navigate subcommands quickly using the bundled maps and reference docs to locate the right commands.
  • Automation and scripting: supports deterministic tasks via the scripts/ directory to refresh CLI maps and automate routine checks.
  • Use Case: imagine you need to verify an account balance, view transaction history, and broadcast a transfer in a single scripted flow.

Quick Start

Install or run the injectived binary locally or in a Docker container. Then reference the CLI map to find the commands you need, and run injectived with --help to confirm available flags.

Frequently Asked Questions about injective-cli

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

FAQPage Schema
How do I query account balances and broadcast transactions on the Injective blockchain using a CLI?

To query balances and broadcast transactions on the Injective blockchain, use the injectived CLI to manage keys, sign transactions, and inspect chain state directly from the terminal with proper flag configuration.

Can I automate Injective blockchain queries and transaction broadcasts in a single scripted flow?

Yes, you can automate Injective blockchain tasks deterministically by utilizing the bundled scripts directory to refresh CLI maps and execute routine transaction or query checks in a single flow.

Do I need a local binary to interact with the Injective blockchain via command line?

You need the injectived binary installed locally or running in a Docker container to interact with the Injective blockchain via command line, ensuring consistent endpoint selection and wallet handling.

What is the best way to locate specific subcommands for managing keys on the Injective chain?

The best way to locate subcommands for managing keys on the Injective chain is by using the bundled command maps and reference docs, then running injectived with the help flag to confirm available commands.

Does the Injective CLI support both mainnet and testnet environments for blockchain operations?

Yes, the Injective CLI supports both mainnet and testnet environments, allowing developers and operators to query data, manage accounts, and broadcast transactions across different network endpoints.

Why am I getting command-fragment errors when running Injective blockchain CLI operations?

Command-fragment errors during Injective blockchain CLI operations often occur due to inconsistent flag usage, which can be resolved by referencing the CLI map and verifying help output for proper command syntax.