Skip to main content
ClaudeWave

You are already a number. Every rule cited, every weight editable.

ToolsRegistry oficial0 estrellas0 forksTypeScriptMITActualizado today
Get started
Method: Clone
Terminal
git clone https://github.com/royashbrook/lifescored
1. Clone the repository.
2. Follow the README for installation and usage instructions.

1 items en este repositorio

Use when someone asks for their "life score", how credit bureaus / actuarial tables / lenders / audit studies turn a person into a number, or wants to compute, break down, or improve a transparency score — computed entirely on-device from the public lifescored rulebook, no personal data ever sent anywhere.

Instalar
Casos de uso

Resumen de Tools

# life. scored.

[![deploy](https://github.com/royashbrook/lifescored/actions/workflows/deploy.yml/badge.svg)](https://github.com/royashbrook/lifescored/actions/workflows/deploy.yml)

**You are already a number.**

A credit score, an actuarial row, a callback probability — this app rebuilds those numbers in the open: every rule cited or flagged as a guess, every weight visible and editable. Transparency, not judgment.

## Stack

- Svelte 5 + SvelteKit, prerendered static pages, deployed to Cloudflare Workers
- One dynamic endpoint: `POST /api/narrative` — KV-cached Gemini narratives with a
  deterministic local fallback (the app is fully functional with no API key at all)
- All user data stays in the browser (localStorage + URL-fragment share links)
- Traffic is measured with Cloudflare Web Analytics — cookieless and aggregate; it cannot see your inputs, which never leave your device anyway.

## Develop

    npm install
    npm run dev      # app at localhost:5173 (narrative falls back to local composer)
    npm test         # vitest suite: rulebook invariants, engine, codec, worker handler
    npm run check    # svelte-check

## Deploy (Cloudflare free tier)

Deploys run automatically from GitHub Actions on every push to `main`
([`.github/workflows/deploy.yml`](.github/workflows/deploy.yml)): the workflow
runs the full test suite + typecheck, and only then builds and deploys.

**One-time setup:**

1. Create the KV namespace and paste its id into `wrangler.jsonc`:

       npx wrangler kv namespace create NARRATIVE_KV

2. Set the Gemini key as a Worker secret (persists across deploys; optional —
   omit to run AI-free with the local narrative fallback):

       npx wrangler secret put GEMINI_API_KEY

3. Add two repository secrets in GitHub
   (Settings → Secrets and variables → Actions):

   - `CLOUDFLARE_API_TOKEN` — a token with the *Edit Cloudflare Workers* template
   - `CLOUDFLARE_ACCOUNT_ID` — your account id

Push to `main` and the action ships it. To deploy by hand instead:

       npm run deploy

## Deploy your own

Fork the repo, do the one-time setup above with your own Cloudflare account, and
push. The app is fully functional with no Gemini key at all.

## Editing the rulebook

Rules live in `src/lib/rulebook/<domain>.ts`. Each rule is declarative: logic,
evidence tag (`SOURCED`/`SPECULATIVE`), citation with access date, a pure
`position(inputs)` (the measured fact, normalized to a numeric position), declared
`bounds` (negative floors only where the cited system itself subtracts; the wealth
rules are uncapped above), and a `weightRationale` justifying its weight against
the 1.0× income baseline; the engine computes `points = round(position × weight)`.
Add a rule, and the UI, weight editor, share
codec, and about-page source list pick it up automatically. `npm test` enforces
the invariants (bounds, integer scores, citation present).

## Use it from an agent (MCP or skill)

The whole rulebook + exact math is published so any agent can compute a score **on its own side** — nothing about a person is ever sent to lifescored.com.

- **MCP server** — `com.lifescored/mcp` on the [official registry](https://registry.modelcontextprotocol.io); endpoint `https://lifescored.com/mcp` (stateless Streamable HTTP, no auth, accepts no personal data). Tools: `get_rulebook`, `get_input_schema`, `get_methodology`, `how_to_give_feedback`.
- **Skill** — a drop-in [`skills/lifescored/`](skills/lifescored/SKILL.md) skill. Copy it into your agent's skills directory (e.g. `~/.claude/skills/`). It prefers the MCP and falls back to `rules.json`.
- **Raw data** — [`https://lifescored.com/rules.json`](https://lifescored.com/rules.json) and [`/llms.txt`](https://lifescored.com/llms.txt).

## Contributing

Every commit must reference a GitHub issue number, e.g. `feat: add presets (#2)` or `refs #5`. A `commit-msg` hook enforces this automatically — it is installed via `core.hooksPath` pointing to `.githooks/`, which activates on `npm install` (the `prepare` script runs `git config core.hooksPath .githooks`). Merge commits and reverts are exempt. To find or open an issue: `gh issue list` / `gh issue create`.

## License

MIT — see LICENSE.
cloudflare-workerslife-scoresveltetransparency

Lo que la gente pregunta sobre lifescored

¿Qué es royashbrook/lifescored?

+

royashbrook/lifescored es tools para el ecosistema de Claude AI. You are already a number. Every rule cited, every weight editable. Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala lifescored?

+

Puedes instalar lifescored clonando el repositorio (https://github.com/royashbrook/lifescored) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar royashbrook/lifescored?

+

royashbrook/lifescored aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene royashbrook/lifescored?

+

royashbrook/lifescored es mantenido por royashbrook. La última actividad registrada en GitHub es de today, con 4 issues abiertos.

¿Hay alternativas a lifescored?

+

Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.

Despliega lifescored en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: royashbrook/lifescored
[![Featured on ClaudeWave](https://claudewave.com/api/badge/royashbrook-lifescored)](https://claudewave.com/repo/royashbrook-lifescored)
<a href="https://claudewave.com/repo/royashbrook-lifescored"><img src="https://claudewave.com/api/badge/royashbrook-lifescored" alt="Featured on ClaudeWave: royashbrook/lifescored" width="320" height="64" /></a>

Más Tools

Alternativas a lifescored