youness-yach

Basiswatch — AI skill for Claude Code

AI community

LLM agent that classifies price gaps between tokenised US stocks (Kraken xStocks) and their underlying: Claude tool use, LangGraph critique and human validation, pre-registered evaluation.

How to install Basiswatch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open youness-yach/basiswatch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Basiswatch does

LLM agent that classifies price gaps between tokenised US stocks (Kraken xStocks) and their underlying: Claude tool use, LangGraph critique and human validation, pre-registered evaluation. Built in French, full English version included.

Alternatives in AI

  • Iran MCP — 39 MCP servers (488 tools) that give AI agents the Iranian web: Digikala, Torob, Divar, Snappfood, Jabama, MrB 151 ★
  • Trvl — AI Travel Agent — flights, accommodations, hotels, buses, trains, ferries, night trains, restaurants, price tr 75 ★
  • Language Command — Sets the output language for all system responses 46 ★

README

BasisWatch

An LLM agent that monitors the price gap between tokenised US stocks (xStocks on Kraken) and their underlying stock, and **classifies each gap**: a real opportunity to send for human validation, or an edge case that makes it illusory (closed market, stale data, thin book, fees). Read only, public data, no trading.

Built with the Anthropic SDK (Claude Haiku 5.5), LangGraph (critique in code, human validation through `interrupt()`), Pydantic validation with a single repair attempt, five read-only tools over frozen market snapshots, a small BM25 search over issuer documents, and an evaluation harness with thresholds fixed before any measurement.

Two versions

The project was **originally built in French**. This repository holds two complete versions:

Folder Language Contents
`fr/` French The original project, unchanged
`en/` English A full translation: file names, functions and variables, labels (MARCHE_FERME → MARKET_CLOSED, …), JSON fields, prompts, comments, CLI options and README

Each folder is **self-contained and runs on its own**: its own code, data, documents and reports. Nothing is shared between them, and the English version talks to the model in English.

In `en/data/` and `en/reports/`, the structure of past results (field names, labels, stop reasons) is translated so that the English commands read them. The sentences the model wrote during those runs (justifications, issuer context) are kept in French, as they were produced.

Start with the README of the version you want: [English](en/README.md) · [Français](fr/README.md).

Quick start

cd en                      # or: cd fr
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python test_rules_synth.py # no API key needed: 10/10 expected
python evaluate.py final --report

export ANTHROPIC_API_KEY=...   # or put it in a .env file (never committed)
python run.py --snapshot SYNTH-09_SPY

Frenc