Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hfpclawer-formula-verify

БесплатноБез исполняемых скриптовНе проверен

Verify LaTeX formulas via multi-layer cross-validation pipeline: SymPy roundtrip → Wolfram CAS comparison → dimensional consistency. Supports single FID and…

diamond2nvот diamond2nv498 установок в других каталогах

Об этом скилле

hfpclawer Formula Cross-Validation

Part of the Exo suite — literature (hfpclawer) → experiments (expflow-pde) → proofs (omega-architect). Three independent CLIs that meet through files and CLI calls, never imports. Entry skill: exo-suite-linkage (wiring, cost tiers low → medium → high, degradation ladder). Install: uv tool install hfpclawer · uv tool install expflow-pde · uv tool install "omega-architect @ git+https://github.com/diamond2nv/[email protected]"

🔒 Sanitization: This skill ships in the public repo. Never embed private LAN IPs, real person names, or machine codenames in examples — use <placeholder> / Jane Doe / [email protected]. Real values live in the repo's gitignored .hermes/internal-guide.md. See repo AGENTS.md "Public-Release Sanitization".

Verify that a LaTeX formula is syntactically valid, algebraically self-consistent, and dimensionally sound, by running it through a multi-layer pipeline backed by SymPy and Wolfram Engine.

Who this is for: Researchers, engineers, and physics modelers who need to check formula correctness before publishing or code implementation.

Overview

The verification pipeline checks each formula through up to 4 layers:

                    ┌──────────────────────────┐
 User:              │ hfpclawer verify series   │
 "Verify H = -μ₀M·H"└──────────┬───────────────┘
                               │
             ┌─────────────────┼──────────────┐
             ▼                 ▼               ▼
      ┌──────────┐     ┌────────────┐   ┌─────────────┐
      │ L1a:     │     │ L1b: CAS   │   │ L2:         │
      │ LaTeX    │     │ SymPy ↔    │   │ Dimensional │
      │ Syntax   │     │ Wolfram    │   │ (pint)      │
      │ + SymPy  │     │ equivalence│   │ consistency │
      │ roundtrip│     │            │   │             │
      └──────────┘     └────────────┘   └─────────────┘
           ▼                  ▼                ▼
      ┌───────────────────────────────────────────┐
      │              Report (LaTeX .tex)          │
      └───────────────────────────────────────────┘

When to Use

  • You derived a formula and want to check its algebraic derivation
  • You ported a formula from a paper to code and want roundtrip verification
  • You need to ensure dimensionally consistent (e.g., left/right side units match)
  • You want a reproducible LaTeX report of all verified formulas for publication

Prerequisites

Python ≥ 3.10. Pick the install that matches how you work — uv is recommended, because the CLI then lives in its own environment (no conflicts with your project's dependencies):

# 1) Recommended — uv tool: isolated CLI install, `hfpclawer` on your PATH
uv tool install hfpclawer
hfpclawer init                    # writes config.yaml

# 2) Try it without installing anything (ephemeral, one-off runs)
# pin the version — `uvx`/`uv tool run` reuse an installed tool env (may run an older
# release), and an unpinned launch is a supply-chain (rug-pull) risk
uvx "hfpclawer==0.19.0" --help

# 3) Inside an existing project / venv (uv-managed)
uv pip install hfpclawer

# 4) No uv yet — pip and pipx both work
pip install hfpclawer             # or: python -m pip install hfpclawer
pipx install hfpclawer            # CLI-style install, functionally like `uv tool`

Optional extras — the core install stays deliberately small:

Extra Adds Install
zotero pyzotero — the Zotero read / write / ingest paths uv tool install "hfpclawer[zotero]"
nlp spaCy pipeline for entity enrichment uv tool install "hfpclawer[nlp]"
graph networkx + geopy for the citation graph uv tool install "hfpclawer[graph]"
llm litellm for opt-in LLM helpers (sniff) uv tool install "hfpclawer[llm]"

⚠️ nlp extra + PyPI (checked against the published 0.19.0 metadata): PyPI strips the direct-URL spaCy model, so that extra installs spacy only — fetch the model yourself with python -m spacy download en_core_web_sm. The loader falls back configured → en_core_web_md → en_core_web_sm and logs one actionable hint when none is present: entity enrichment degrades, nothing else breaks.

Where to find it: repo https://github.com/diamond2nv/hfpapers-crawler · PyPI https://pypi.org/project/hfpclawer/ · registry: clawhub inspect <slug>

  • Optional: Local Wolfram Engine for CAS cross-validation (L1b)
    • Download from https://www.wolfram.com/engine/
    • Set WOLFRAMSCRIPT_PATH in .env (default: /usr/bin/wolframscript) - Without Wolfram, L1b skips with a warning; all other layers still run

Quick Start

1. Add a Formula to the Registry

# Register a formula with a unique FID
hfpclawer verify add fid001 "H = -\\mu_0 \\mathbf{M} \\cdot \\mathbf{H}_d"

# Register with source reference and tags
hfpclawer verify add jiles-ainik "H = \\alpha \\tilde{M}" \
  --source "Jiles-Atherton" \
  --tags "hysteres
Полный SKILL.md на ClawHub

Установить hfpclawer-formula-verify в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл hfpclawer-formula-verify?

Verify LaTeX formulas via multi-layer cross-validation pipeline: SymPy roundtrip → Wolfram CAS comparison → dimensional consistency. Supports single FID and batch verification with LaTeX report generation.

Как установить скилл hfpclawer-formula-verify?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hfpclawer-formula-verify запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hfpclawer-formula-verify с