@sentomk/pixit

SentoMK's pi coding agent extensions: questionnaire tool with /answer extraction, xedit, custom status footer

Packages

Package details

extensiontheme

Install @sentomk/pixit from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@sentomk/pixit
Package
@sentomk/pixit
Version
0.1.1
Published
Sep 20, 2026
Downloads
119/mo · 13/wk
Author
sentomk
License
MIT
Types
extension, theme
Size
254.4 KB
Dependencies
1 dependency · 4 peers
Pi manifest JSON
{
  "themes": [
    "./themes"
  ],
  "extensions": [
    "./extensions"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pixit

My pi coding agent package: extensions, skills, and themes I use across projects.

Install with:

pi install npm:@sentomk/pixit

Extensions

  • questionnaire.ts - Unified questionnaire tool. Single questions show an option list, multiple questions get tab navigation, multiple: true enables checkbox multi-select with accumulating custom entries, and empty options render a free-text editor. Includes /answer (shortcut ctrl+.): extracts unanswered questions from the last assistant message via LLM, lets you answer them in the same TUI, then sends the compiled answers back to trigger a new turn.
  • custom-footer.ts - Two-line status footer (tokens/cost/context + git branch/model/thinking level), O(1) cached rendering, toggled with /footer.
  • xedit.ts - Enhanced editing tool (xedit). Classic exact-replace plus multi batch edits and Codex-style patch. Ambiguous multi-match edits are rejected with match line numbers unless replaceAll: true; unambiguous whitespace-tolerant fuzzy matching kicks in when exact match fails; every batch runs on a virtual filesystem first and rolls back all writes if any step fails.
  • btw.ts - /btw side-chat popover with optional summary injection back into the main chat.
  • review.ts - Code review command (working tree, PR-style diff, commits, custom instructions).
  • todos.ts - File-backed todo manager with TUI.
  • checkpoint.ts - Automatic per-turn git snapshots into a private ref chain (never touches your index or branch). /undo reverts the working tree to before the last agent turn (repeat to walk further back), /checkpoints lists recent snapshots.
  • second-opinion.ts - /so [question] sends the recent conversation to a different model than the active one and prints its independent critique. Model choice is remembered for the session.
  • session-grep.ts - /sg <query> full-text search across past sessions of this project; selecting a result prints the original message back into chat.
  • clipboard.ts - /copy-code copies the last fenced code block from the assistant's reply to the system clipboard (clip.exe / pbcopy / wl-copy / xclip / xsel).

Themes

Select with /theme or set "theme" in settings.json.

Run tests:

node --experimental-strip-types tests/test-xedit.mjs
node --experimental-strip-types tests/test-checkpoint.mjs
node --experimental-strip-types tests/test-select-list.mjs

Development

Local testing without publishing:

pi install /absolute/path/to/pixit

Or try it for one run only:

pi -e /absolute/path/to/pixit

Publish a new version (publishes to the public npm registry, as @sentomk/pixit — see publishConfig in package.json):

npm login --registry https://registry.npmjs.org/   # once per machine
npm version patch   # or minor / major
npm publish

Note: commit the version bump before publishing so the gitHead recorded in the package metadata points at the released tree.