Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Jacobinwwey/notemdpro --skill selection-processorgit clone --depth 1 https://github.com/Jacobinwwey/notemdproWrote 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.
[](https://agentmods.dev/skills/jacobinwwey/notemdpro/selection-processor)<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/selection-processor"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/selection-processor/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.
<a href="https://agentmods.dev/skills/jacobinwwey/notemdpro/selection-processor"><img src="https://agentmods.dev/badge/skills/jacobinwwey/notemdpro/selection-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.01058 |
| Opus 5.5 | $0.00011 | $0.00423 |
| Sonnet 5.5 | $0.00005 | $0.00212 |
| Haiku 4.5 | $0.00003 | $0.00106 |
Grade A, and why
selection-processor scanned grade A with 0 findings 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 1mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NoteMD Pro - Selection-Based Processing
Overview
This skill enables processing of selected text portions within files, rather than forcing full-file rewrites. This saves tokens, reduces processing time, and allows targeted AI operations on specific sections.
When to Use
- Partial content generation: Generate content for just a section
- Selective linking: Add links to specific paragraphs
- Targeted translation: Translate selected portions
- Efficient processing: Save tokens by processing only what's needed
Function Call Chain
Process Selection
├── Get selected text from editor
├── Get surrounding context (optional)
├── Process selected content (LLM)
├── Replace or append selected content
└── Update file
Selection Processing Patterns
1. Get Selected Text
// From Obsidian editor
const editor = view.editor;
const selection = editor.getSelection();
// From VS Code
const selection = editor.selection;
const text = editor.document.getText(selection);
2. Process with Context
For better results, include surrounding context:
// Get context before and after selection
const lineNum = editor.getCursor().line;
const beforeLines = editor.getRange({line: 0, ch: 0}, {line: lineNum, ch: 0});
const afterLines = editor.getRange({line: lineNum, ch: 0}, {line: maxLine, ch: 0});
const fullContext = beforeLines + selection + afterLines;
3. Replace Selection
// Replace selected text with processed result
editor.replaceSelection(processedContent);
// Or append after selection
editor.replaceRange('\n\n' + processedContent, {line: lineNum + 1, ch: 0});
Use Cases
Wiki-Link from Selection
// Selected: "Machine learning is a subset of AI"
// Process: Add links to key concepts
// Result: "Machine learning is a subset of [[AI]]"
async function addLinksToSelection(app: App, editor: Editor) {
const selection = editor.getSelection();
const prompt = getSystemPrompt('addLinks');
const result = await callLLM(prompt, selection);
editor.replaceSelection(result);
}
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.
- 1mo ago First seen · 162 lines · 27 tokens per session scan A 192bf3c21308
selection-processor is a skill published in the GitHub repository Jacobinwwey/notemdpro (2 stars, last pushed 16d ago), licensed MIT. It adds 27 tokens to every session and 1,058 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
google-workspace
Fetch and query data from Google Workspace using the gws CLI — Gmail, Calendar, Docs, Sheets, Slides, and Drive. Use this skill whenever the user mentions email, inbox, messages, calendar, meetings, schedule, agenda, Google Docs, spreadsheets, presentations, or Drive files. Trigger on phrases like "check my email"…
email-meeting-summary
Use when the user wants to summarize a Google Meet meeting and send the summary by email. Reviews a Google Meet transcript for a specific meeting topic, then composes a Gmail draft summarizing decisions and action items for that topic. Prompts for meeting selection if not specified, and for topic selection before…
gmail-draft
Use this skill to compose a Gmail draft from text content in the conversation. Accepts a body, recipient list, and subject — either from the user or from context — and creates a draft in the user's Gmail Drafts folder via gws.
caveman
Compress agent chat replies: less filler, max meaning. Use when the user says caveman mode, /caveman, talk like caveman, be brief, or asks for fewer tokens in chat. Intensities: /caveman lite|full|ultra. Stop with stop caveman or normal mode. Chat narration only — not commits, PRs, or customer docs unless the user…
quick-tasks
Token-saving mode for everyday lightweight work. Use for one-line fixes, typo/config-value changes, quick questions ("what does this function do?"), throwaway scripts, and anything that ends inside a single file. Output is a minimal diff and a short report. For multi-file, design, or new-feature work, switch to the…
Dispatching Parallel Agents
Concurrent execution of independent subtasks using multi-agent scheduling.