← Back to Skills Marketplace
learningloons-hash

lithtrix-skills-api

by learningloons-hash · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
70
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install lithtrix
Description
Operate Lithtrix (lithtrix.ai) from an agent — self-serve API keys, credibility-scored web discovery, per-agent JSON memory, MCP tools, and free-tier referra...
README (SKILL.md)

Lithtrix — agent infrastructure skill

What this covers

Lithtrix is agent-native infrastructure: HTTPS APIs for web discovery (credibility-scored results), self-registration (one-time ltx_ API key), optional persistent JSON memory (KV, stats, context, semantic search when the host has vectors/embeddings), usage metering, Stripe billing for paid tiers, and an MCP server (npx -y lithtrix-mcp).

Use this skill when you should discover, register, call search/memory, explain quotas or referrals, or configure MCP — not for unrelated web search.

When to load this skill

  • The user mentions Lithtrix, ltx_ keys, lithtrix.ai, lithtrix-mcp, or agent-native search / memory.
  • You need a credible web search API with no dashboard (Bearer auth only after register).
  • You need per-agent memory with optional semantic recall over stored JSON.
  • You need to explain free vs starter vs pro limits or referral bonuses on the free tier.

Canonical URLs (read-first)

Resource URL Auth
Agent guide (ordered steps, JSON) https://lithtrix.ai/v1/guide None
Capabilities (endpoints, limits, scoring) https://lithtrix.ai/v1/capabilities Optional Bearer (see below)
LLM-oriented site summary https://lithtrix.ai/llms.txt None
OpenAPI 3.1 https://lithtrix.ai/openapi.json None
Human docs https://docs.lithtrix.ai None
Agent discovery https://lithtrix.ai/.well-known/ai-agent.json None
MCP tool JSON (search, register, memory, …) https://lithtrix.ai/mcp/*.json None

Base URL override (staging): set LITHTRIX_API_URL (MCP and custom clients); default is https://lithtrix.ai.

Quick start (three calls)

1. Discover

curl -sS "https://lithtrix.ai/v1/capabilities"

2. Register (one-time key — store immediately)

curl -sS -X POST "https://lithtrix.ai/v1/register" \
  -H "Content-Type: application/json" \
  -d '{"agent_name":"my-agent","owner_identifier":"[email protected]"}'

Optional body field referral_agent: string = referring agent’s UUID (same value as their referral_code from GET /v1/me). Omit if unknown. Only UUID-shaped referrals count toward the referrer’s free-tier bonus.

3. Search (Bearer)

curl -sS "https://lithtrix.ai/v1/search?q=your+query" \
  -H "Authorization: Bearer ltx_your_key_here"

Optional auth on GET /v1/capabilities

If you send a valid Authorization: Bearer ltx_... header, the JSON includes referral_rewards.your_referral_code (your agent UUID — same as referral_code from GET /v1/me). Invalid or missing tokens still return HTTP 200; the key is simply omitted. Unauthenticated responses remain backward compatible.

curl -sS "https://lithtrix.ai/v1/capabilities" \
  -H "Authorization: Bearer ltx_your_key_here"

Referral programme (free tier)

  • GET /v1/me (authenticated): always includes referral_code (your UUID to share). Includes referral_agent if you registered with a referrer.
  • Free tier: lifetime web-discovery cap = base (default 300) + 100 × (count of other agents whose referral_agent equals your UUID). Self-referral excluded. Starter / Pro: monthly search caps; no referral bonus on search limits.
  • Effective cap is reflected in GET /v1/searchusage.search_calls_limit / calls_remaining for free agents.

Memory (per-agent JSON)

After registration, use Bearer auth.

  • PUT /v1/memory/{key} — store/update JSON (value required; optional ttl, importance, source, confidence)
  • GET /v1/memory/{key} — read; DELETE /v1/memory/{key} — remove
  • GET /v1/memory — list keys (paginated)
  • GET /v1/memory/stats — ops + storage vs tier limits
  • GET /v1/memory/context — top memories by importance/recency
  • GET /v1/memory/search?q=... — semantic similarity over your memories (requires host vector + embedding configuration)

Key pattern: [a-zA-Z0-9-_.:]{1,128}. See OpenAPI and docs for response usage objects.

MCP (Claude Desktop, OpenClaw, etc.)

Install and run via stdio (no global install required):

npx -y lithtrix-mcp

Set environment variable LITHTRIX_API_KEY to a valid ltx_ key (obtain via lithtrix_register tool or POST /v1/register). Tools typically include search, register, and memory helpers — see tool definitions at https://lithtrix.ai/mcp/ paths listed in llms.txt or OpenAPI extensions.

Billing (paid tiers)

Upgrade path uses Stripe via API (see GET /v1/billing, GET /v1/billing/config, POST /v1/billing/setup in OpenAPI and Mintlify billing docs). Tiers: Free, Starter, Pro — limits differ for web discovery and memory; see /v1/capabilities and docs.

Security and hygiene

  • Never commit or paste raw ltx_ keys into public repos, skills, or logs.
  • Treat the API key like any secret: env vars, host credential stores, or secrets managers.
  • Validate user-supplied URLs and payloads at your integration boundary; Lithtrix validates its own API inputs.

Troubleshooting

Symptom Check
401 on /v1/search Missing/wrong Authorization: Bearer ltx_...
409 on /v1/register Same agent_name + owner_identifier already registered
Free tier “out of quota” Lifetime total vs effective cap (includes referrals); inspect usage on search
Memory semantic search unavailable Host must configure vector + embeddings (product limitation, not client bug)

Support

  • Docs: https://docs.lithtrix.ai
  • Email: [email protected]
  • GitHub: https://github.com/lithtrix
Usage Guidance
This skill is internally consistent for interacting with Lithtrix: it legitimately needs a Lithtrix API key and curl and shows concrete API calls. Before installing, consider: (1) only provide a valid LITHTRIX_API_KEY to agents you trust and never paste keys into public logs; (2) the SKILL.md recommends running 'npx -y lithtrix-mcp' which will download and execute an npm package at runtime — only run that on trusted hosts; (3) the doc mentions an optional LITHTRIX_API_URL env override that isn't listed in the requires.env metadata — if you use a staging endpoint, verify the URL; (4) review Lithtrix's privacy/billing docs (linked) if you will store sensitive memory data. Overall the skill appears coherent with its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: lithtrix Version: 1.0.0 The lithtrix skill provides a standard integration for the Lithtrix.ai agent infrastructure service, facilitating web discovery, API registration, and per-agent memory management. It utilizes documented API endpoints (lithtrix.ai) and a standard MCP server implementation via npx. No indicators of data exfiltration, malicious execution, or harmful prompt injection were identified.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description (Lithtrix agent infra: search, register, memory, MCP, billing) align with the declared requirement of a single Lithtrix API key and the use of curl. The primary credential (LITHTRIX_API_KEY) is appropriate for the stated functionality.
Instruction Scope
SKILL.md contains concrete curl examples for discovery, register, search, and memory endpoints — all within the Lithtrix domain. It also recommends running 'npx -y lithtrix-mcp' to start the MCP tool; that command will fetch and run code from the npm registry at runtime (not part of this skill bundle). The doc references an optional LITHTRIX_API_URL override and billing endpoints; it does not instruct reading unrelated system files or other credentials.
Install Mechanism
There is no install spec (instruction-only), so nothing is written by the skill itself. However, SKILL.md advises using 'npx -y lithtrix-mcp' which will download and execute an npm package at runtime — a moderate-risk action that is expected for a CLI/tooling integration but worth noting because it fetches external code when executed.
Credentials
The skill declares a single required env var (LITHTRIX_API_KEY) and marks it as primary; that is proportionate to the described API operations. One minor mismatch: the documentation references an optional LITHTRIX_API_URL override but that env var is not listed under required envs (not a security problem, but an inconsistency to be aware of).
Persistence & Privilege
The skill does not request permanent presence (always:false), does not modify other skills or system-wide agent settings, and does not request elevated privileges. Autonomous invocation is allowed (default) but that is normal for skills and not combined with other concerning factors here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lithtrix
  3. After installation, invoke the skill by name or use /lithtrix
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Lithtrix skill 2.0.0 introduces full agent infrastructure support for Lithtrix.ai, including web discovery, per-agent memory, registration, quotas, billing, and referral rewards. - Enables discovery and search via credibility-scored Lithtrix API endpoints. - Supports agent self-registration and manages per-agent API keys (ltx_). - Provides structured JSON memory with optional semantic recall for agents. - Integrates Stripe-based billing tiers and outlines referral bonus mechanics for the free tier. - Offers detailed guides for agent integration, troubleshooting, and security best practices. - Includes MCP server/tool support for desktop and agent runtimes.
Metadata
Slug lithtrix
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is lithtrix-skills-api?

Operate Lithtrix (lithtrix.ai) from an agent — self-serve API keys, credibility-scored web discovery, per-agent JSON memory, MCP tools, and free-tier referra... It is an AI Agent Skill for Claude Code / OpenClaw, with 70 downloads so far.

How do I install lithtrix-skills-api?

Run "/install lithtrix" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is lithtrix-skills-api free?

Yes, lithtrix-skills-api is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does lithtrix-skills-api support?

lithtrix-skills-api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created lithtrix-skills-api?

It is built and maintained by learningloons-hash (@learningloons-hash); the current version is v1.0.0.

💬 Comments