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 3mo 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.
- 3mo 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 2mo 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.
selection-processor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| selection-processorJacobinwwey/notemdpro | Skill | 2 | 2mo ago | MIT | A | 27 | Claude Code, Codex |
| google-workspaceopendatahub-io/ai-helpers | Skill | 40 | yesterday | Apache-2.0 | A | 107 | Claude Code |
| email-meeting-summaryopendatahub-io/ai-helpers | Skill | 40 | yesterday | Apache-2.0 | A | 78 | Claude Code |
| gmail-draftopendatahub-io/ai-helpers | Skill | 40 | yesterday | Apache-2.0 | A | 53 | Claude Code |
| cavemantakara-ai/miru-code | Skill | 12 | 9d ago | MIT | A | 86 | Claude Code |
| quick-tasksKimyongari/harness-factory | Skill | 5 | 6d ago | MIT | A | 73 | Claude Code, Codex |
| Dispatching Parallel Agentsankur-gaurav161418/omniforge | Skill | 0 | 29d ago | MIT | A | 16 | Claude Code, Codex |