omnideck

v1.0.4
io.github.aapd-studio/omnideck Checked 4 days ago Published 2 months ago

Local privacy-first tools: redact secrets, decode JWTs, compare LLM costs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

redact_sensitive_data Redact sensitive data

Mask emails, API keys, credit cards, IBANs, IP addresses and phone numbers in a block of text. Use this BEFORE sending user-supplied text, logs, config files or pasted documents to any external API, or before quoting them back in a shared transcript. Runs entirely locally — nothing is transmitted.

ParameterTypeDescription
text *stringThe text to scrub.
categoriesarrayWhich categories to mask. Defaults to all: emails, api_keys, credit_cards, iban, ip_addresses, phone_numbers.

decode_jwt Decode a JWT

Decode the header and payload of a JSON Web Token and report its expiry status. Does NOT verify the signature (no secret is involved, and none should be pasted anywhere). Use this instead of an online JWT decoder — a token is a live credential and should never be pasted into a website.

ParameterTypeDescription
token *stringThe JWT, with or without a 'Bearer ' prefix.

estimate_llm_cost Estimate and compare LLM cost

Compare what one request would cost across GPT, Claude and Gemini models, sorted cheapest first. Pass the prompt text, or pass input_tokens directly if you already know the count. Useful for picking a model before running a large batch job.

ParameterTypeDescription
input_tokensintegerExact input token count, if you already have it. Overrides `text`.
output_tokensintegerExpected output tokens. Defaults to 500.
textstringThe prompt text. Its tokens are counted for you.

split_for_context Split text for a context window

Break a long document into chunks that fit a target context window, cutting on paragraph boundaries (falling back to sentence boundaries) so no chunk ends mid-thought. Use when a file is too large to process in one pass.

ParameterTypeDescription
text *stringThe document to split.
max_tokensintegerApproximate token budget per chunk. Defaults to 8000.

check_output_fidelity Check AI output against its source

Flag names, numbers and dates that appear in an AI-generated summary but NOT in the source text it was based on — the usual shape of a hallucination. This is a lexical heuristic, not a fact-checker: it catches invented specifics, not wrong reasoning. Use it to decide what to verify by hand.

ParameterTypeDescription
ai_output *stringThe AI-generated text to check.
original *stringThe source text the output was generated from.

hash_text Hash text locally

Compute an MD5, SHA-1, SHA-256 or SHA-512 digest of a string, locally. Use instead of an online hash generator when the input is a password, secret or any private value.

ParameterTypeDescription
text *stringThe string to hash.
algorithmstringDigest algorithm.