LoomLensAI / README.md
AVale-SGLMAI's picture
Fix: remove special chars from frontmatter title, keep lightning bolt emoji
4ef2ede verified
|
Raw History Blame Contribute Delete
5.38 kB
---
title: "LoomLens AI - Token Budget Calculator"
emoji: "\u26a1"
colorFrom: purple
colorTo: purple
sdk: static
app_file: index.html
pinned: false
---
# LoomLens AI - Token Budget Calculator
**One prompt. Every model. Every cost. Before you run.**
Find the best model to fit your prompt -- free, 5 estimates/day.
**[Live Community Stats -->](https://signalloomai.com/loomlens-stats)**
---
## On This Page
- [Use the Calculator (HF Space)](#use-the-calculator)
- [Use in OpenClaw (Slash Commands)](#openclaw-tools)
- [Use Outside OpenClaw (CLI)](#cli-anywhere)
- [Install the Skills](#install-the-skills)
- [LoomToken System](#loomtoken-system)
---
## Use the Calculator
**On Hugging Face:** Just open this Space and start estimating -- 5 free estimates/day, no account needed.
**On your own site:** Paste your prompt, select models, click **Estimate Cost**.
---
## OpenClaw Tools
Five Signal Loom AI tools are available directly in any OpenClaw chat. Type the slash command:
### LoomLens AI -- `/loomlens`
**Estimate prompt cost across 19+ AI models before you run.**
```
/loomlens "You are an expert medical coder..." --agents 3 --runtime 10
```
> Models: GPT-4o, Claude Sonnet 4, Gemini 2.5 Pro/Flash, DeepSeek v3, Grok-3, MiniMax M2.7, and 14 more.
> Free: 3 estimates/day
### Transcription -- `/transcribe`
**Transcribe audio and video to JSON, SRT, or VTT.**
```
/transcribe ./meeting.mp3 --format json
```
> Supports: MP3, WAV, M4A, MP4, MOV, FLAC.
> Free: 100 min/month
### Job Audit -- `/jobaudit`
**Full cost audit of your OpenClaw agent jobs.**
```
/jobaudit --days 30 --top 10
```
> See what you actually paid vs. what you could have paid.
> Free: 3 audits/day
### Prompt Cache -- `/promptcache`
**See how much you'd save by caching your system prompts.**
```
/promptcache "You are an expert radiologist..." --calls-per-day 100
```
> Compares cached vs. non-cached cost across all models.
> Free: 3 analyses/day
### Context Broker -- `/contextbroker`
**Persistent memory across agent sessions.**
```
/contextbroker push --session-id user-123 --context "Prefers concise summaries after 6pm"
```
> npm: `npm install @signalloom/contextbroker`
> Free: 100 ops/month
**Install all OpenClaw tools:**
```bash
openclaw skills install loomlensai
openclaw skills install signalloom-transcription
openclaw skills install jobaudit
openclaw skills install promptcache
npm install -g @signalloom/contextbroker
```
---
## CLI Anywhere
Not using OpenClaw? Use the tools directly from your terminal.
### Prerequisites
```bash
# 1. Get a free API key
https://signalloomai.com/signup
# 2. Set it in your environment
export SL_API_KEY=your_key_here
```
### LoomLens CLI
```bash
# Install
npm install -g loomlens-ai
# Run
loomlens "Your prompt here..." --agents 3 --runtime 5
# Example output:
# gpt-4o: $0.028/run
# claude-sonnet: $0.019/run
# deepseek-v3: $0.003/run CHEAPEST
```
### Transcription CLI
```bash
# Install
npm install -g signalloom-transcription
# Run
transcribe ./recording.mp3 --format json
# Or all formats at once
transcribe ./podcast.mp4 --format all
```
### Cost Estimation (Python)
```python
import requests
API_KEY = "your_key_here"
resp = requests.post(
"https://api.signalloomai.com/v1/estimate",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"job_description": "Your prompt here",
"num_agents": 1,
"estimated_runtime_minutes": 5,
"complexity": "standard",
"target_models": ["openai/gpt-4o", "anthropic/claude-sonnet-4-20250514"]
}
)
data = resp.json()
for m in data["models"]:
print(f"{m['model']}: ${m['estimated_cost_mid']:.4f}")
```
---
## Install the Skills
### From ClawhHub
```bash
openclaw skills install loomlensai
openclaw skills install signallloom-transcription
openclaw skills install jobaudit
openclaw skills install promptcache
openclaw skills install contextbroker
```
### From Source
```bash
# Clone the skills repo
git clone https://github.com/AVale-SLAI/signalloom-tools.git
cd signalloom-tools
# Symlink into OpenClaw
ln -s $(pwd)/loomlensai ~/.openclaw/skills/loomlensai
ln -s $(pwd)/transcription ~/.openclaw/skills/transcription
# ... etc
```
---
## LoomToken System
All 5 tools share the same **LoomToken** balance:
| | |
|---|---|
| **1 LoomToken** | $0.0001 USD |
| **100 LoomTokens** | $0.10 per estimate/call |
| **$1** | 1,000 LoomTokens |
| **$5** | 5,000 LoomTokens -- 50 estimates |
**Free tiers:** 3 estimates/day (LoomLens, jobaudit, promptcache) | 100 min/month (transcription) | 100 ops/month (contextbroker)
**Get an API key:** [https://signalloomai.com/signup](https://signalloomai.com/signup)
**Upgrade:** [https://signalloomai.com/loomlensai-pro.html](https://signalloomai.com/loomlensai-pro.html)
---
## More Info
| | |
|---|---|
| **Website** | [signalloomai.com](https://signalloomai.com) |
| **API Docs** | [signalloomai.com/docs](https://signalloomai.com/docs) |
| **Pricing** | [signalloomai.com/loomlensai-pro.html](https://signalloomai.com/loomlensai-pro.html) |
| **OpenClaw Tools** | [signalloomai.com/openclaw](https://signalloomai.com/openclaw) |
| **Live Stats** | [signalloomai.com/loomlens-stats](https://signalloomai.com/loomlens-stats) |
| **Support** | [hello@signalloomai.com](mailto:hello@signalloomai.com) |
Built by **[Signal Loom AI](https://signalloomai.com)** | 2026