Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By lexfreiv0.1.0BSD-3-ClauseIn 1 marketplace
Native status band with shared TypeScript rendering
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Configuration fileconfig
TOML path; empty uses ~/.ailinerc.toml with ~/.claudelinerc.toml fallback
stringdefault
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it runs programs; makes network requests; reads files; reads environment variables (HOME, USER).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The plugin displays ailine above the prompt using the same TypeScript renderer as the CLI. It needs no separately installed ailine, Bun, or Node. The regular statusLine.command integration remains available and receives fields missing from the native API.
Tested against Claude Code 2.1.327. The early-access mods API can change between builds.
The plugin is distributed through the lexfrei/ccc marketplace, which points at this repository's plugin directory. Updates follow this repository's default branch:
/plugin install ailine --marketplace lexfrei/ccc
To try a local checkout instead:
claude --plugin-dir ./plugin
The plugin reads ~/.ailinerc.toml, falling back to ~/.claudelinerc.toml. Its optional config setting selects another TOML file. Dependencies are included inside the plugin; installation does not download packages or executables.
The plugin does not edit settings or disable an existing statusLine.command. If both are enabled, both rows appear. Disable the existing command yourself if you want only the native row.
The row refreshes every five seconds, including while idle. Refreshes do not overlap, and results from an earlier session cannot replace a newer session's row. Noninteractive sessions do not run the renderer. No model calls or context-breakdown requests are made.
| Data | Native plugin behavior |
|---|---|
| Model | Shows the identifier returned by the session API, not the CLI's display name |
| Context | Uses the API's context percentage when available |
| Quotas | Uses five-hour and seven-day windows; an unknown reset is omitted |
| Cost | Uses the API's session cost estimate; omitted when unavailable, even if enabled in config |
| Compactions | Reads the current transcript and counts compaction records |
| Worktree and branch | Reads local Git metadata without running Git |
| Platform status | Uses a cached HTTPS status check |
| Prompt cache, effort, thinking, fast mode | Not exposed by the inspected session API |
| Repository identity and PR/review state | Not exposed; branch/worktree fallback remains available |
| Per-model quotas and credits | Require the explicit mac_insecure opt-in |
| Gateway spend limit | Exposed by the API but not rendered |
| Formatting | Preserves text and emoji, removes ANSI colors, disables terminal hyperlinks, and leaves wrapping to the host |
Unexpected query or rendering failures display ailine: unavailable (check config and permissions). The plugin retries on the next refresh without exposing exception details. Expected file, cache, and network failures use the shared renderer's fallback behavior.
The plugin reads the active model, context percentage, quota windows, estimated cost, working directory, and transcript path through Claude Code's API. It reads the TOML config, transcript, and local Git metadata through the host's file API. It does not send conversation text to a service or executable.
Cache records use the host's persistent JSON store. They are separate from the CLI's file cache; file permission and atomic-rename guarantees do not apply to this store. Raw OAuth tokens are never stored.
When the platform-status segment is enabled, the plugin makes a cached unauthenticated HTTPS request to https://status.claude.com/api/v2/status.json. Set status = false under [segments] to avoid that request.
The host HTTP API has no per-request cancellation signal. The plugin limits how long rendering waits, permits only one outstanding request per endpoint, and discards late responses. A timed-out underlying request may remain pending until the host completes it; the next refresh does not start a duplicate.
mac_insecure = true explicitly enables reading Claude Code's OAuth credentials from the macOS Keychain through /usr/bin/security and sending an authenticated request to https://api.anthropic.com/api/oauth/usage. This is the only subprocess path. Leave it off to use only quota windows supplied by Claude Code. Do not enable it merely to install the plugin. With the plugin and the statusLine.command both enabled, each keeps its own cache and makes its own usage requests, which doubles the load on that rate-limited endpoint.
The plugin has not been submitted for directory review. Portal validation requires a Verified organization for hooks modules and their TypeScript sources. Replacing the external executable does not remove that publisher restriction. A successful local validation is not directory approval.
Run from the repository root with the pinned Bun and Claude Code versions:
bun run test:host
claude plugin validate --strict --profile directory ./plugin
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
ailine@claude-code-companions is listed by lexfrei/ccc — review the source before installing
npx claudepluginhub lexfrei/ccc --plugin ailinePlugins from other owners that cover similar ground