context-attachment-manager
Codex and Claude Code plugin (works in Claude Desktop): choose which past images go to the model with your next message. Unchecked images become placeholders, the conversation goes on, and requests st
A KDE Plasma application for Linux that shows remaining AI coding quotas for Codex, Cursor and StepFun.
PluginsPython · QMLGitHub @radilabsOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
KDE Plasma widget that shows remaining AI coding-tool quota for Codex, Cursor, StepFun and Claude.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Horizon shows the remaining quota of the AI coding tools you already use, directly in KDE Plasma.
Horizon is a KDE Plasma widget for Linux that keeps an eye on OpenAI Codex (ChatGPT Plus), Cursor, Claude, and the StepFun Step Plan, so you can see when you are close to a limit without opening separate dashboards.Read the full README ↗Horizon shows the remaining quota of the AI coding tools you already use, directly in KDE Plasma.
Horizon is a KDE Plasma widget for Linux that keeps an eye on OpenAI Codex (ChatGPT Plus), Cursor, Claude, and the StepFun Step Plan, so you can see when you are close to a limit without opening separate dashboards.
Compact panel: the lowest remaining quota. A meter at 0 is counted beside that number (AI 75% · 1 at 0%) instead of replacing it. When every meter is at 0 the panel shows AI 0%.
Popup: one section per provider with its plan, one row per remaining-quota meter with that meter's own reset, and clear stale / auth / error labels. Hover the panel for each meter's label.
Product page and release overview: Radilabs Horizon
Horizon is for developers who use AI coding services on Linux with a KDE Plasma desktop and need remaining quota at a glance. It suits everyday Codex, Cursor, Claude, and StepFun users who prefer one always-visible panel entry over checking several provider dashboards.
Horizon is intentionally not a provider login client, an OAuth broker, a browser extension, or a quota forecasting tool. It reuses the credentials you already have on this machine.
| Provider | Auth |
|---|---|
| OpenAI Codex (ChatGPT Plus) | Reuses ~/.codex/auth.json |
| Cursor | Reads local Cursor session (state.vscdb) read-only |
| Claude (Pro/Max) | Reads Claude Code credentials read-only |
| StepFun Step Plan | User-supplied Oasis token stored only in KWallet |
Horizon does not implement provider login/OAuth, browser cookie import, or password storage.
Current release: 0.2.0 — GitHub release v0.2.0 · Radilabs Horizon page
Dependencies: Plasma 6, Python 3, Python D-Bus (python3-dbus) for KWallet, and a clipboard tool (wl-paste on Wayland, or Klipper via qdbus6) for the optional settings token entry.
git clone https://github.com/radilabs/horizon.git
cd horizon
git checkout v0.2.0 # release tag; omit for the current tip of main
./scripts/install.sh
This installs:
~/.local/share/horizon/collector/~/.local/bin/ai-usage (not a symlink into the git checkout)com.radilabs.horizonAdd Horizon from the Plasma widget picker.
If Horizon is already on the panel and does not show the new popup or compact text, reload Plasma:
plasmashell --replace
You can also log out and back in. If the widget disappears, add it again from the widget picker. scripts/upgrade.sh runs scripts/install.sh, which prints the same hint.
Upgrade / uninstall:
./scripts/upgrade.sh
./scripts/uninstall.sh # keeps KWallet token + usage cache
./scripts/uninstall.sh --purge # also removes usage cache; still keeps KWallet token
There is no CI release pipeline: the git tag plus scripts/install.sh is the supported install path. Details: docs/release.md.
Widget settings (right-click → Configure Horizon):
Disabled providers are not queried, refreshed, shown, or included in the compact summary. Disabling does not delete credentials.
Sign in with the Codex/ChatGPT tooling so ~/.codex/auth.json exists. Horizon reuses it.
ai-usage status codex --json
Stay signed in to the Cursor app. Horizon reads session state transiently and never modifies it.
ai-usage status cursor --json
Stay signed in with Claude Code so ~/.claude/.credentials.json exists. Horizon reads that file and does not refresh or rewrite it. If the session is missing or rejected, sign in again with Claude Code.
ai-usage status claude --json
Paste an existing Oasis token (from a StepFun web session). Stored only in KWallet. If the stored pair is still accepted by StepFun’s unofficial refresh endpoint, Horizon performs one automatic refresh and writes KWallet only after a live usage check succeeds.
ai-usage auth stepfun set # secure prompt; no --token flag
ai-usage auth stepfun status # working | auth_failed | missing
ai-usage auth stepfun clear
ai-usage status stepfun --json
Or use Widget settings → StepFun credential:
Oasis-Token cookie from platform.stepfun.aiConfigured · workingStatus is Configured · working only after StepFun accepts the token — not merely that something is stored. The token is never written to Plasma config or the usage cache.
~/.cache/horizon/usage-*.json): normalized non-secret data onlySee docs/security.md.
Quota APIs for these tools are unofficial and can break when providers change endpoints or auth. Details:
Architecture: provider-contract, usage-schema, cache.
Development notes: docs/development.md.
Release process: docs/release.md.
Version: 0.2.0
Horizon is available under the Apache License 2.0. Copyright © Radilabs.