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 takashicompanyv0.1.1MITIn 1 marketplace
Shows your Claude Code chats, prompts and approval requests on Even G2 smart glasses, and answers approvals from them. Needs a headlenss server on localhost:3000 and Claude Code running inside tmux; its hooks forward every prompt and reply to that server.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Japanese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code プラグイン。Claude Code のライフサイクルイベント(SessionStart、UserPromptSubmit、Stop、PreToolUse、PermissionRequest、SessionEnd)を headlenss サーバーへ HTTP で転送する。
これにより、G2 スマートグラス側で:
http://localhost:3000 で起動していることTMUX / TMUX_PANE 環境変数があること)未公開。開発中はローカルディレクトリ指定で:
/plugin marketplace add /path/to/headlenss
/plugin install headlenss@headlenss
(マーケットプレイス JSON は別途用意予定)
Claude Code がイベントを発火するたびに、headlenss サーバーの /api/hooks/* へ HTTP POST する。PreToolUse / PermissionRequest は long-poll(最大 600 秒)で待機状態をブロックし、G2 から応答が来たら hook レスポンスとして返す(承認/拒否/回答を Claude Code に伝える)。
現状はサーバーURLが http://localhost:3000 でハードコード。今後 userConfig で変更可能にする予定。
plugin/skills/ に同梱しているスキル (headlenss 自体の操作手順書) をコピーで
インストールする。配置先は 2 つで、同じ内容が両方に入る:
~/.claude/skills/<name>/$CODEX_HOME/skills/<name>/ (未設定なら ~/.codex/skills/<name>/)node /path/to/headlenss/plugin/skills/install.mjs
# または server/ で: npm run skills:install
同梱しているスキル:
| スキル | 内容 |
|---|---|
headlenss-new-session | API で新しい tmux セッションを作る |
headlenss-g2-plugin | 開発中の G2 プラグインをセッション一覧に出し、グラスから開く |
headlenss-dev-server | headlenss のポートを奪わずに dev server を立てて tailnet に公開する |
headlenss-preview-tabs | 作った HTML / dev server を Web UI のセッション画面のタブに出す |
git pull 後にもう一度実行するだけ (冪等。中身が同じなら何もしない)。skills-backup/<name>.bak.<timestamp>/ (例: ~/.claude/skills-backup/、~/.codex/skills-backup/)
に退避してから上書きする。退避したものは uninstall しても自動では戻らない (必要なら手で
skills/<name>/ へ戻す)。HEADLENSS_SERVER_URL=http://<host>:3000 を付けて実行すると、headlenss-new-session スキル本文の
API URL がそのホストに差し替わる。他のスキル (headlenss-dev-server / headlenss-g2-plugin /
headlenss-preview-tabs) は headlenss と同じマシンで実行する手順書なので、本文のループバック
URL はそのまま残す。外すとき:
node /path/to/headlenss/plugin/skills/uninstall.mjs
# または server/ で: npm run skills:uninstall
インストール時に各ディレクトリへ .headlenss-skill.json (マーカー) を置いており、
uninstall は両方の配置先を走査して、それがあるディレクトリだけを消す (同名の自作スキルは残す)。
This plugin also includes Codex lifecycle hooks under plugin/codex-hooks/ and plugin/.codex-plugin/plugin.json.
When installed as a Codex plugin, the hooks forward SessionStart, UserPromptSubmit, Stop, and PermissionRequest events to the headlenss server at http://localhost:3000 by default. Set HEADLENSS_SERVER_URL before launching Codex to target a different server URL.
Install the global Codex hooks once:
node /path/to/headlenss/plugin/codex-hooks/install.mjs
This merges HeadLenss hook definitions into ~/.codex/hooks.json and backs up any existing file before writing. Restart Codex, open /hooks, and review/trust the HeadLenss hook definitions.
After that, launch Codex inside any tmux session so the hook can resolve TMUX_PANE back to the headlenss tmux session:
tmux new -s codex-work -c /path/to/your/project codex
No HeadLenss Web UI session creation is required; the tmux session appears automatically after Codex starts and emits lifecycle events.
To remove the global Codex hooks:
node /path/to/headlenss/plugin/codex-hooks/uninstall.mjs
For HeadLenss development, this repository also includes project-local .codex/hooks.json, but global hooks are the normal setup for end users because they work from any project.
7-day copy clicks
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.
npx claudepluginhub takashicompany/headlenss --plugin headlenssPlugins from other owners that cover similar ground