clicky: Instructions file for Codex

AGENTS.md

clicky AGENTS.md is an instructions file for Codex, OpenCode from farzaa/clicky. It costs 2,959 tokens per session, scanned C, original, MIT.

Repository-specific instructions for Clicky, a macOS menu-bar app that captures voice and screen context, sends it to AI services, and returns text, speech, and cursor guidance.

In plain words
What is it for?
Use them when changing the SwiftUI and AppKit interface, voice capture, transcription, AI streaming, text-to-speech, cursor overlays, or the Cloudflare API proxy.
Why use it?
They explain the app's unusual menu-bar design, voice pipeline, AI connections, security boundary, and main architectural choices.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is farzaa/clicky's own configuration. It tells Codex and OpenCode how to work on clicky itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clicky configures →

About the project

Clicky is an open-source macOS AI teaching companion that sits beside the cursor, sees the screen, speaks with the user, and points to on-screen elements. Developers use the project to run, inspect, and extend the application. The catalogue entries are instructions for working with this codebase through coding agents.

farzaa/clicky · 7,939 stars · on GitHub · heyclicky.com

Reuse

Borrowing it

Nothing to install: this file belongs to farzaa/clicky. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/farzaa/clicky/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/farzaa/clicky

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clicky AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/farzaa/clicky/agents-md/github.svg)](https://agentmods.dev/instructions/farzaa/clicky/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/farzaa/clicky/agents-md"><img src="https://agentmods.dev/badge/instructions/farzaa/clicky/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clicky AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/farzaa/clicky/agents-md"><img src="https://agentmods.dev/badge/instructions/farzaa/clicky/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,959 This file is loaded in full into every session.
When invoked 2,959 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02959 $0.02959
Opus 5.5 $0.01184 $0.01184
Sonnet 5.5 $0.00592 $0.00592
Haiku 4.5 $0.00296 $0.00296

Measured 2mo ago against content hash 7066784b7cc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

clicky AGENTS.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- AI agents: follow these instructions to keep this file accurate. -->
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clicky - Agent Instructions

Overview

macOS menu bar companion app. Lives entirely in the macOS status bar (no dock icon, no main window). Clicking the menu bar icon opens a custom floating panel with companion voice controls. Uses push-to-talk (ctrl+option) to capture voice input, transcribes it via AssemblyAI streaming, and sends the transcript + a screenshot of the user's screen to Claude. Claude responds with text (streamed via SSE) and voice (ElevenLabs TTS). A blue cursor overlay can fly to and point at UI elements Claude references on any connected monitor.

All API keys live on a Cloudflare Worker proxy — nothing sensitive ships in the app.

Architecture

  • App Type: Menu bar-only (LSUIElement=true), no dock icon or main window
  • Framework: SwiftUI (macOS native) with AppKit bridging for menu bar panel and cursor overlay
  • Pattern: MVVM with @StateObject / @Published state management
  • AI Chat: Claude (Sonnet 4.6 default, Opus 4.6 optional) via Cloudflare Worker proxy with SSE streaming
  • Speech-to-Text: AssemblyAI real-time streaming (u3-rt-pro model) via websocket, with OpenAI and Apple Speech as fallbacks
  • Text-to-Speech: ElevenLabs (eleven_flash_v2_5 model) via Cloudflare Worker proxy
  • Screen Capture: ScreenCaptureKit (macOS 14.2+), multi-monitor support
  • Voice Input: Push-to-talk via AVAudioEngine + pluggable transcription-provider layer. System-wide keyboard shortcut via listen-only CGEvent tap.
  • Element Pointing: Claude embeds [POINT:x,y:label:screenN] tags in responses. The overlay parses these, maps coordinates to the correct monitor, and animates the blue cursor along a bezier arc to the target.
  • Concurrency: @MainActor isolation, async/await throughout
  • Analytics: PostHog via ClickyAnalytics.swift

Read the full file on GitHub · 168 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 168 lines · 2,959 tokens per session scan C 7066784b7cc5

Subscribe to this mod's changes

clicky AGENTS.md is an instructions file published in the GitHub repository farzaa/clicky (7,939 stars, last pushed 9d ago), licensed MIT. It adds 2,959 tokens to every session, about $0.0118 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

clicky AGENTS.md compared with instructions from other repositories

clicky AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clicky AGENTS.mdfarzaa/clickyInstructions file7.9k9d agoMITC2,959Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode