Home / mishrasanjeev / grantex · skills/use-grantex-cli/SKILL.md · GitHub

use-grantex-cli skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, same audit grade.

use-grantex-cli is agent-read markdown (skill) from mishrasanjeev/grantex: Operate Grantex delegated authorization through its machine-readable CLI. Use when Hermes, OpenClaw, an Agent Skills-compatible assistant, or another shell-capable agent needs to configure Grantex, register an agent, request scoped human consent, exchange or verify grant tokens, inspect grants and audit records, delegate narrower authority, or revoke access without writing framework-specific code..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Use Grantex CLI

Use `grantex` as a control-plane tool. Prefer JSON output, keep credentials out of command arguments, and leave authorization enforcement at the protected service boundary.

## Bootstrap

1. Check whether `grantex` is available on `PATH`.
2. If it is missing and the user approves installation, run `npm install -g @grantex/cli`.
3. Configure with environment variables when running unattended. Use the syntax for the current shell:

   ```bash
   # Bash, zsh, or sh
   export GRANTEX_URL=https://api.grantex.dev
   export GRANTEX_KEY=YOUR_API_KEY
   ```

   ```powershell
   # PowerShell
   $env:GRANTEX_URL = "https://api.grantex.dev"
   $env:GRANTEX_KEY = "YOUR_API_KEY"
   ```

   Alternatively, use `grantex config set --url <url> --key <key>` for a user-managed local profile.

4. Confirm the identity with `grantex --json me`. Stop if configuration or authentication fails.

## Machine contract

- Put the global flag before the command: `grantex --json agents list`.
- Parse stdout as JSON and treat stderr as diagnostics.
- Check the process exit status before trusting output.
- Use `NO_COLOR=1` if text output must be captured.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add mishrasanjeev/grantex/use-grantex-cli@git:20260829.8bfe4c5
Exact content
mdr add mishrasanjeev/grantex/use-grantex-cli@sha256:767e11ef0619782d

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_prjwa7zgigxzej2r.svg)](https://markdownregistry.com/a/art_prjwa7zgigxzej2r)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260829.8bfe4c5 latest2026-08-29 8bfe4c5 4,411 BA view · diff
git:20260829.242a4fb2026-08-29 242a4fb 4,409 BA view · diff
git:20260810.93290e52026-08-10 93290e5 4,175 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4411 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mishrasanjeev/grantex · 34 stars · license NOASSERTION · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_prjwa7zgigxzej2r
GET https://markdownregistry.com/api/v1/resolve?ref=mishrasanjeev/grantex/use-grantex-cli
GET https://markdownregistry.com/api/v1/blob/767e11ef0619782d9f9c1e1fc358f3e3a22b64501360b0066b3f1661487ef6df

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from mishrasanjeev/grantex

integrate-grantex skill
mishrasanjeev/grantex · packages/cli/agent-skills/integrate-grantex/SKILL.md · Add Grantex delegated authorization to an agent, CLI tool, API, MCP server, or framework integration. Use when…
git:20260829.8bfe4c5 · audit A · 34 stars
use-grantex-cli skill
mishrasanjeev/grantex · packages/cli/agent-skills/use-grantex-cli/SKILL.md · Operate Grantex delegated authorization through its machine-readable CLI. Use when Hermes, OpenClaw, an Agent…
git:20260829.8bfe4c5 · audit A · 34 stars
expert-code-review skill
mishrasanjeev/grantex · skills/expert-code-review/SKILL.md · Expert review guidelines for auditing repositories, pull requests, and system designs. Use when performing code review…
git:20260829.8bfe4c5 · audit A · 34 stars
grantex-commerce-enterprise-implementation skill
mishrasanjeev/grantex · skills/grantex-commerce-enterprise-implementation/SKILL.md · Enterprise implementation guardrails for Grantex Commerce V1 across grantex.dev and agenticorg.ai. Use when reviewing…
git:20260829.8bfe4c5 · audit A · 34 stars
integrate-grantex skill
mishrasanjeev/grantex · skills/integrate-grantex/SKILL.md · Add Grantex delegated authorization to an agent, CLI tool, API, MCP server, or framework integration. Use when…
git:20260829.8bfe4c5 · audit A · 34 stars
ship-verification skill
mishrasanjeev/grantex · skills/ship-verification/SKILL.md · Post-merge verification pass for Grantex. After any PR merges to main or ships to prod, run this pass without being…
git:20260829.8bfe4c5 · audit A · 34 stars
llms-full.txt@web llmstxt
mishrasanjeev/grantex · web/llms-full.txt
git:20260915.db185ca · audit A · 34 stars
llms.txt@web llmstxt
mishrasanjeev/grantex · web/llms.txt
git:20260915.db185ca · audit A · 34 stars

Every file in mishrasanjeev/grantex

Other files named use-grantex-cli

use-grantex-cli skill
mishrasanjeev/grantex · packages/cli/agent-skills/use-grantex-cli/SKILL.md · Operate Grantex delegated authorization through its machine-readable CLI. Use when Hermes, OpenClaw, an Agent…
git:20260829.8bfe4c5 · audit A · 34 stars

Browse by kind, by grade A, or by owner.