Skip to content
cyclone-mindPublic

About

Slash-command AI skills for Chrome's side panel. Select text, type /, run a skill. Bring your own model (DeepSeek, OpenAI, Anthropic, Gemini, Ollama...).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Slashy

Select text on any page, type /, run an AI skill. A free, open-source Chrome side panel that turns your best prompts into slash commands, with the page you're reading as context. Bring your own model: DeepSeek, OpenAI, Anthropic, Gemini, Ollama, or any OpenAI-compatible endpoint.

English · 简体中文

What it does

  • Slash skills. Type / in the panel to get a searchable list of skills. Pick one, add details if you like, press Enter.
  • Page context, automatically. Your current text selection is sent with the skill. With no selection, the whole page text is used (toggle "Use page" off to ask a plain question).
  • Right-click to run. Select text (or right-click the page), choose Slashy: run skill, and pick a skill. The side panel opens and runs it.
  • Your own skills. A skill is a name plus a prompt. Create, edit, disable, or reset them from the lightning-bolt button. Five are built in: Summarize, Explain, Translate, Polish, Sentence study. Prompts may use {selection}, {url} and {title} placeholders. If a prompt asks for output inside a ```markdown block, Slashy unwraps it so the answer renders as Markdown.
  • Any model provider. Add providers from presets (or a custom URL), switch the active model from the picker under the input. Streams answers and shows reasoning for models that expose it. Fallback: the Active provider is tried first; if it fails before answering, the others are tried top to bottom (reorder with the arrows, toggle in Models). The answer notes which provider replied.
  • Web search and thinking, both off by default. Two toggles sit under the input. Search is native for Anthropic (web_search tool), OpenAI (Responses API web_search), OpenRouter (web plugin), Qwen and GLM; DeepSeek uses its own /v1/tools/search endpoint with your DeepSeek key; every other provider (Kimi, SiliconFlow, Ollama, custom...) falls back to Firecrawl, optionally with your own key in Models (keyless use can be refused from some networks). The query is what you typed, else your selection, else the page title. Think turns on each vendor's default reasoning: Anthropic thinking, OpenAI reasoning models (o-series, gpt-5), DeepSeek, OpenRouter, Qwen, GLM and Gemini; models that always reason keep doing so. The answer notes how it searched.
  • Reasoning effort. With Think on, select Default, Low, Medium, or High for OpenAI reasoning models and custom OpenAI-compatible endpoints. Default leaves the effort to the provider. The panel remembers your choice; turning Think off stops sending it. Some gateways or models may reject or ignore explicit levels.
  • Private by default. Keys and skills live in chrome.storage.local. Page content goes only to the provider you configured, and only when you send.

Install

  1. Download slashy-vX.Y.Z.zip from the latest release and unzip it.
  2. Open chrome://extensions, enable Developer mode, click Load unpacked, and choose the unzipped folder.
  3. Click the Slashy icon (or press Alt+S) to open the side panel, then add a provider via the sliders button.

Providers

Preset API format Base URL
DeepSeek, OpenAI, Gemini, OpenRouter, Moonshot, Zhipu, Qwen, SiliconFlow OpenAI-compatible see presets
Anthropic Anthropic Messages https://api.anthropic.com
Ollama OpenAI-compatible http://localhost:11434/v1
Custom either your own

For Ollama, start it with OLLAMA_ORIGINS=chrome-extension://* so the extension may call it.

Develop

Requires Node 22+ and pnpm.

pnpm install
pnpm dev        # rebuild to dist/ on change; load dist/ as an unpacked extension
pnpm test       # unit tests for the slash/context/streaming logic
pnpm type-check
pnpm zip        # build and write dist-zip/slashy-vX.Y.Z.zip

node scripts/mock-llm.mjs starts an OpenAI-compatible streaming mock on http://localhost:8787/v1 and a sample article at /page, handy for trying the UI without an API key.

src/core.ts        slash filter, context building, SSE parsing (pure, tested)
src/llm.ts         streaming client for OpenAI-compatible and Anthropic APIs
src/page.ts        reads selection and text from the active tab
src/sidepanel/     React UI: chat, skills, providers

Releasing

Push a tag like v0.1.0. GitHub Actions builds the extension and attaches slashy-v0.1.0.zip to a GitHub Release. Keep package.json version in step with the tag.

Roadmap

Screenshot input, saved chat history, multi-tab context, skill import/export. Community sharing and page-rewriting scripts are out of scope for now.

License

MIT. Started from the chrome-extension-boilerplate-react-vite template.

About

Slash-command AI skills for Chrome's side panel. Select text, type /, run a skill. Bring your own model (DeepSeek, OpenAI, Anthropic, Gemini, Ollama...).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages