Search

PythonReactSEOPDF
OpenClaw

codex-usage

Manual Telegram slash-style command for Codex profile status and usage checks. Use when the user sends /codex_usage, /codex_usage default, /codex_usage all, or /codex_usage <profile>, or asks to check openai-codex profile usage/limits/auth health.

deadlysilent0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install deadlysilent/codex-usage

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Run scripts/codex_usage.py to produce a Codex profile report discovered from local auth profiles.

Safe defaults

  • /codex_usage is read-only.
  • For mutations, require explicit confirmation and prefer --dry-run first.
  • See RISK.md for allowed/denied operation boundaries.

UX requirements (cross-channel)

Before running the script for a user-triggered /codex_usage request, send an immediate progress note as a separate message:

  • "Running Codex usage checks now…"

Then send final usage result when complete (do not skip the progress note).

Interaction adapter

  • If inline buttons are supported: show selector buttons (default / all / discovered profiles).
  • If inline buttons are not supported: show text menu fallback (default | all | <profile>).
  • Apply duplicate-request suppression per user for ~20s to avoid accidental spam retries.

Commands

  • /codex_usage → MUST return selector buttons first (default / all / discovered profiles)
  • /codex_usage default
  • /codex_usage all
  • /codex_usage <profile>
  • /codex_usage delete <profile> (must require explicit confirmation before mutation)

How to run

From workspace root:

python3 skills/codex-usage/scripts/codex_usage.py --profile all --timeout-sec 25 --retries 1 --debug
python3 skills/codex-usage/scripts/codex_usage.py --profile all --format text

Profile-specific examples:

python3 skills/codex-usage/scripts/codex_usage.py --profile default --timeout-sec 25 --retries 1 --debug
python3 skills/codex-usage/scripts/codex_usage.py --profile openai-codex:default --timeout-sec 25 --retries 1 --debug
python3 skills/codex-usage/scripts/codex_usage.py --profile <suffix> --timeout-sec 25 --retries 1 --debug

Delete examples (with safeguards):

# preview only (required guard response without --confirm-delete)
python3 skills/codex-usage/scripts/codex_usage.py --delete-profile openai-codex:mine

# safe preview with explicit confirm but no file mutation
python3 skills/...

Source information

Source
github
Repository
openclaw/skills
Path
skills/deadlysilent/codex-usage
Version
—
Commit
915266a3447df68c0aeaa05bb0711c05bcbfa1e8
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
Run `scripts/codex_usage.py` to produce a Codex profile report discovered from local auth profiles.

## Safe defaults
- `/codex_usage` is read-only.
- For mutations, require explicit confirmation and prefer `--dry-run` first.
- See `RISK.md` for allowed/denied operation boundaries.

## UX requirements (cross-channel)
Before running the script for a user-triggered `/codex_usage` request, send an immediate progress note as a separate message:
- "Running Codex usage checks now…"

Then send final usage result when complete (do not skip the progress note).

### Interaction adapter
- If inline buttons are supported: show selector buttons (default / all / discovered profiles).
- If inline buttons are not supported: show text menu fallback (`default | all | <profile>`).
- Apply duplicate-request suppression per user for ~20s to avoid accidental spam retries.

## Commands
- `/codex_usage` → **MUST** return selector buttons first (default / all / discovered profiles)
- `/codex_usage default`
- `/codex_usage all`
- `/codex_usage <profile>`
- `/codex_usage delete <profile>` (must require explicit confirmation before mutation)

## How to run
From workspace root:

```bash
python3 skills/codex-usage/scripts/codex_usage.py --profile all --timeout-sec 25 --retries 1 --debug
python3 skills/codex-usage/scripts/codex_usage.py --profile all --format text
```

Profile-specific examples:

```bash
python3 skills/codex-usage/scripts/codex_usage.py --profile default --timeout-sec 25 --retries 1 --debug
python3 skills/codex-usage/scripts/codex_usage.py --profile openai-codex:default --timeout-sec 25 --retries 1 --debug
python3 skills/codex-usage/scripts/codex_usage.py --profile <suffix> --timeout-sec 25 --retries 1 --debug
```

Delete examples (with safeguards):

```bash
# preview only (required guard response without --confirm-delete)
python3 skills/codex-usage/scripts/codex_usage.py --delete-profile openai-codex:mine

# safe preview with explicit confirm but no file mutation
python3 skills/...

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.