Skip to content
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:
    • Polish
    • Feedback
    • Pitch
  • 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 requests
  • Model: OpenRouter model ID that supports structured outputs
  • Output Mode: replace, append, or copy
  • Append Separator: text inserted between original and appended result, for example ---
  • Action 1-3 Label: display labels shown in PopClip
  • Action 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 tone
  • Feedback: rewrite into respectful, assertive, actionable feedback
  • Pitch: 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.md and changed identifier to dev.hokupod.popclip-extension-openrouter.
  • 2026-04-22: Initial release.
Info