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 mirkosertic/MCPLuceneServer --skill dev-tasksgit clone --depth 1 https://github.com/mirkosertic/MCPLuceneServerWrote 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/mirkosertic/mcpluceneserver/dev-tasks)<a href="https://agentmods.dev/skills/mirkosertic/mcpluceneserver/dev-tasks"><img src="https://agentmods.dev/badge/skills/mirkosertic/mcpluceneserver/dev-tasks/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/mirkosertic/mcpluceneserver/dev-tasks"><img src="https://agentmods.dev/badge/skills/mirkosertic/mcpluceneserver/dev-tasks.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.00035 | $0.00759 |
| Opus 5.5 | $0.00014 | $0.00304 |
| Sonnet 5.5 | $0.00007 | $0.00152 |
| Haiku 4.5 | $0.00003 | $0.00076 |
Grade A, and why
dev-tasks 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Common Development Tasks
Adding a New Facet Field
- Update
DocumentIndexer.java- add the field toFacetsConfig - Add the field to the Lucene document in the indexing method
- Bump
SCHEMA_VERSIONinDocumentIndexer.java(triggers automatic reindex on upgrade) - Update README.md field schema table
Adding File Format Support
- Add the file extension pattern to
application.yamlunderinclude-patterns - Apache Tika handles most formats automatically via auto-detection
- For custom parsing beyond Tika: extend
FileContentExtractor.java - Test with real documents of the new format
- Update README.md supported formats section
Debugging STDIO Issues
The MCP server uses STDIO transport. Any output to stdout breaks the JSON-RPC protocol.
Checklist:
- Must use
deployedprofile:java -Dspring.profiles.active=deployed -jar target/luceneserver-*.jar - The
deployedprofile disables all console logging appenders - Search for
System.out.printlnin codebase -- there must be NONE - Search for
System.err.println-- also problematic - Logger output goes to file only in deployed mode
- Test command:
java -Dspring.profiles.active=deployed -jar target/luceneserver-*.jar
Performance Tuning
Indexing is slow
- Increase
thread-pool-sizein config (more parallel file walkers) - Increase
batch-size(fewer Lucene commits) - Increase
batch-timeout-ms(larger batches) - Check if
max-content-lengthis causing excessive content truncation
Search is slow
- Check for leading wildcard queries (
*term) -- these are expensive even withcontent_reversedoptimization - Reduce
pageSizein search requests - Check total index size -- very large indices may benefit from
optimizeIndex()
Out of Memory (OOM)
- Set
max-content-lengthto limit per-document content size - Increase JVM heap:
-Xmx2gor higher - Reduce
thread-pool-size(each thread holds document content in memory) - Check for very large files being indexed (e.g., multi-GB archives)
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 · 73 lines · 35 tokens per session scan A f9fdd4672ea6
dev-tasks is a skill published in the GitHub repository mirkosertic/MCPLuceneServer (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 35 tokens to every session and 759 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
config-secrets-environments
Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production. Use when adding env vars, changing runtime config, handling API keys or user-provided keys, diagnosing config drift, or preparing…
debug-operator
TRIGGER when operator errors appear or user reports broken behavior. Systematic diagnosis workflow.
orchardcore-diagnostics
Skill for configuring Orchard Core diagnostics error handling. Covers custom error pages, status code pages, DiagnosticsStartupFilter, IConfigureOptions integration, error shapes, alternate shape names, the 429 Too Many Requests page, Problem Details for Api and SkipStatusCodePages responses, and production exception…
diagnose-connectivity
Work out why a 3x-ui client cannot connect, in the order that finds the cause fastest — scope the outage, check the core, the inbound, the client's own limits, routing and outbounds, then the node. Use whenever someone reports "it stopped working", a client cannot connect, a site is unreachable through the proxy, or…
workspace-code-workflow
A workspace code-task workflow for routing tasks and finding or rewriting work by using defined search and worker-selection rules.
customer-support
Collect safe Local Coding Agent support context from a customer and produce a concise troubleshooting response.