Appearance
PopClip Extensions Directory / OpenRouter Rewrite
OpenRouter Rewrite
Rewrite selected text with OpenRouter and return only the final text.
Unlisted Extension
This extension is published on hokupod's page but is not listed in the main directory index.
Readme
OpenRouter Rewrite
Rewrite selected text in PopClip using OpenRouter.
What It Does
- Provides 3 default actions:
PolishFeedbackPitch
- Sends the selected text to OpenRouter using a structured-outputs-compatible model
- Returns only the final rewritten text
- Lets you choose whether the result should replace the selection, be appended below it, or be copied to the clipboard
Settings
OpenRouter API Key: API key used for OpenRouter requestsModel: OpenRouter model ID that supports structured outputsOutput Mode: replace, append, or copyAppend Separator: text inserted between original and appended result, for example---Action 1-3 Label: display labels shown in PopClipAction 1-3 Prompt: editable prompt templates
Use where the selected text should be inserted.
Compatible models:
- https://openrouter.ai/models?fmt=cards&supported_parameters=structured_outputs
Default Prompt Behavior
Polish: improve clarity and structure while preserving meaning and toneFeedback: rewrite into respectful, assertive, actionable feedbackPitch: compress into a concise value-focused elevator pitch- Unless explicitly asked to translate, the defaults respond in the same language as the input
Notes
- This extension requires network access.
- The model must support structured outputs.
- PopClip string option defaults have length limits, so prompt defaults are intentionally kept compact.
- Custom prompts can completely override the shipped defaults.
Credits
- Author: Hokuto TAKEMIYA
- Domain: hokupod.dev
- Built for PopClip and OpenRouter
Changelog
- 2026-04-23: Added
AGENTS.mdand changed identifier todev.hokupod.popclip-extension-openrouter. - 2026-04-22: Initial release.
Info
- Created
Apr 27, 2026 - Version
0.1.2 - Identifier
dev.hokupod.popclip-extension-openrouter - PopClip Version
≥2023.7 - Action Type
JavaScript (with internet access) - License
MIT License - Maintainer
hokupod - Source
hokupod/popclip-extension-openrouter/.../OpenRouter.popclipext/