npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

codex-to-poke

v0.1.5

Published

Unofficial local Poke to Codex bridge.

Readme

The Codex to Poke Bridge

Pokedex

🧭 Pokedex connects your local Codex to your Poke.

It runs on your machine, keeps workspace access local, and exposes Codex through a small authenticated MCP relay. Version 0.1.5 focuses on native Codex threads, runtime overrides, plugin discovery, usage visibility, and cleaner shutdown behavior.

Codex App Server -> Pokedex agent -> Pokedex relay -> Poke Tunnel -> Your Poke

🚀 Usage

  1. Add the recipe to Poke: https://poke.com/r/z-hW49hTZk7
  2. Start Pokedex:
npx codex-to-poke

Start Pokedex in the workspace you want Codex to see:

cd /path/to/project
npx codex-to-poke

When the terminal says it is ready, try saying "is pokedex connected?" to your Poke. Type help in the Pokedex prompt to see commands.

🔐 Permissions

Pokedex starts read-only unless your saved config already allows writes.

npx codex-to-poke --read-only
npx codex-to-poke --write
npx codex-to-poke --full-access

Use --write for normal code changes. Use --full-access only on machines and projects you trust.

🗂️ Workspaces

The first run stores the current folder as the main workspace. You can choose another workspace with:

npx codex-to-poke --workspace /path/to/project

Inside the prompt:

workspace list
workspace add api /path/to/api
workspace use api
workspace write api on
restart

💬 Prompt Commands

status                                      show relay, agent, poke, workspace, and access status
config                                      print the saved config with secrets hidden
output [relay|agent|poke]                   show recent logs for one service or all services
write <on|off>                              set write permission for the active workspace
full-access <on|off>                        set full filesystem access for the active workspace
workspace list                              show configured workspaces
workspace add <alias> <path> [description]  add or update a workspace
workspace remove <alias>                    remove a workspace
workspace use <alias>                       make a workspace active and restart services
workspace describe <alias> <description>    change a workspace description
workspace write <alias> <on|off>            set write permission for one workspace
workspace full-access <alias> <on|off>      set full access for one workspace
model <name>                                set the default Codex model
reasoning minimal|low|medium|high|xhigh     set the default reasoning effort
verbosity low|medium|high                   set the default answer verbosity
approval untrusted|on-request|never         set the default approval policy
port <number>                               change the local relay port and restart services
token rotate                                create a new relay token and restart services
restart                                     restart relay, agent, and poke
help                                        show this command list
quit                                        stop Pokedex and close the prompt

⚙️ Config

Pokedex stores config in:

~/.pokedex/config.jsonc

The JSONC config contains the random relay token, default model settings, permissions, and workspace list. Default local wiring such as port 3000, user local, and codex app-server --listen stdio:// is kept internal unless you override it.

🎛️ Runtime Settings

Runtime settings are per-request MCP arguments that Poke can pass when it calls Codex tools. They override defaults for one thread, turn, resume, or review request.

Persistent defaults are edited from the running Pokedex prompt:

model <name>
reasoning minimal|low|medium|high|xhigh
verbosity low|medium|high
approval untrusted|on-request|never
write <on|off>
full-access <on|off>
workspace write <alias> <on|off>
workspace full-access <alias> <on|off>

The saved defaults live in ~/.pokedex/config.jsonc. Poke should help the user write these commands, but it should use runtime settings directly when the user wants a one-time override for a Codex turn.

🧰 MCP Tools

Pokedex exposes these tools to Poke:

pokedex_setup_check
pokedex_list_workspaces
pokedex_list_tasks
pokedex_list_sessions
pokedex_list_threads
pokedex_list_skills
pokedex_list_plugins
pokedex_start_task
pokedex_start_thread
pokedex_continue_task
pokedex_send_turn
pokedex_resume_task
pokedex_resume_thread
pokedex_read_thread
pokedex_fork_thread
pokedex_set_goal
pokedex_clear_goal
pokedex_review
pokedex_interrupt
pokedex_list_approvals
pokedex_approve
pokedex_decline
pokedex_cancel_approval
pokedex_get_diff
pokedex_get_usage

Prefer native thread tools (pokedex_start_thread, pokedex_send_turn, pokedex_resume_thread, and pokedex_list_threads). The task and session tools are compatibility aliases for the same thread-backed behavior.

Task and thread tools accept workspaceAlias, prompt, and optional runtime settings such as model, profile, reasoningEffort, verbosity, sandbox, approvalPolicy, webSearch, skillNames, and skills.

Use pokedex_list_skills to fetch local skills from Codex, including ~/.agents/skills and ~/.codex/skills. You can pass skillNames: ["caveman"] or include $caveman in the prompt; Pokedex resolves the path and sends a skill input item to Codex.

Use pokedex_list_plugins to fetch installed Codex plugins and marketplace plugin data when the local Codex app-server exposes it.

Use pokedex_get_usage to inspect observed token usage and account rate-limit data when Codex exposes it through app-server.

If Codex pauses for approval, ask Poke to list approvals, then approve or decline the pending request. When only one approval is pending, pokedex_approve and pokedex_decline do not need an approvalId.

🧪 Troubleshooting

If Poke login does not complete automatically:

npx poke@latest login

If Codex cannot be found:

npm install -g @openai/codex@latest

If port 3000 is busy:

npx codex-to-poke --port 3010

Inside Pokedex, use help for a list of available commands.

🖥️ Platform Support

Pokedex supports macOS, Linux, and Windows on Node.js 20 or newer.

⚖️ Disclaimer

Pokedex is an independent, unofficial open-source project. It is not affiliated with, endorsed by, sponsored by, or maintained by OpenAI, Poke, The Interaction Company of California Inc., or Interaction. OpenAI, Codex, ChatGPT, Poke, and Interaction names are used only to describe compatibility with their respective products and services.

🔒 Security And Legal

See LEGAL.md for trademark and affiliation notes.