dev-tasks

dev-tasks is a skill for Claude Code from mirkosertic/MCPLuceneServer. It costs 35 tokens per session (759 once invoked), scanned A, original, Apache-2.0.

A collection of recipes for maintaining and extending a Java search server. It covers adding searchable fields, supporting file formats, debugging STDIO communication, and improving performance.

In plain words
What is it for?
Use it when adding facet fields, supporting new document formats, diagnosing STDIO problems, tuning performance, or updating the search index schema.
Why use it?
It gives developers project-specific steps and warnings for changes that can break indexing, file parsing, or the JSON-RPC connection used by MCP.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when adding facet fields, supporting new document formats, diagnosing STDIO problems, tuning performance, or updating the search index schema.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mirkosertic/mcpluceneserver/dev-tasks
Install

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.

Any agent
npx skills add mirkosertic/MCPLuceneServer --skill dev-tasks
Clone the repo
git clone --depth 1 https://github.com/mirkosertic/MCPLuceneServer

Made for: Claude Code.

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 dev-tasks

README.md
[![agentmods](https://agentmods.dev/badge/skills/mirkosertic/mcpluceneserver/dev-tasks/github.svg)](https://agentmods.dev/skills/mirkosertic/mcpluceneserver/dev-tasks)
Your own site
<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.

agentmods 80×15 button for dev-tasks

Your own site · 80×15
<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>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00035 $0.00759
Opus 5.5 $0.00014 $0.00304
Sonnet 5.5 $0.00007 $0.00152
Haiku 4.5 $0.00003 $0.00076

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

Security

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.

.claude/skills/dev-tasks/SKILL.md · 73 lines

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

  1. Update DocumentIndexer.java - add the field to FacetsConfig
  2. Add the field to the Lucene document in the indexing method
  3. Bump SCHEMA_VERSION in DocumentIndexer.java (triggers automatic reindex on upgrade)
  4. Update README.md field schema table

Adding File Format Support

  1. Add the file extension pattern to application.yaml under include-patterns
  2. Apache Tika handles most formats automatically via auto-detection
  3. For custom parsing beyond Tika: extend FileContentExtractor.java
  4. Test with real documents of the new format
  5. 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 deployed profile: java -Dspring.profiles.active=deployed -jar target/luceneserver-*.jar
  • The deployed profile disables all console logging appenders
  • Search for System.out.println in 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-size in config (more parallel file walkers)
  • Increase batch-size (fewer Lucene commits)
  • Increase batch-timeout-ms (larger batches)
  • Check if max-content-length is causing excessive content truncation

Search is slow

  • Check for leading wildcard queries (*term) -- these are expensive even with content_reversed optimization
  • Reduce pageSize in search requests
  • Check total index size -- very large indices may benefit from optimizeIndex()

Out of Memory (OOM)

  • Set max-content-length to limit per-document content size
  • Increase JVM heap: -Xmx2g or higher
  • Reduce thread-pool-size (each thread holds document content in memory)
  • Check for very large files being indexed (e.g., multi-GB archives)

Read the full file on GitHub · 73 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. 1mo ago First seen · 73 lines · 35 tokens per session scan A f9fdd4672ea6

Subscribe to this mod's changes

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.

Related

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…

majiayu000/spellbook · 73 tokens

debug-operator

TRIGGER when operator errors appear or user reports broken behavior. Systematic diagnosis workflow.

dylanroscover/Embody · 21 tokens

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…

CrestApps/CrestApps.AgentSkills · 193 tokens

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…

pyworkload/3x-ui-mcp · 83 tokens

workspace-code-workflow

A workspace code-task workflow for routing tasks and finding or rewriting work by using defined search and worker-selection rules.

EvovexAI/EvoFlow · 70 tokens

customer-support

Collect safe Local Coding Agent support context from a customer and produce a concise troubleshooting response.

LongNgn204/local-coding-agent · 20 tokens