brmel

Farkad AI — AI skill for Claude Code

AI community

The extraction engine behind Farkad: one sentence about your day, typed, spoken or photographed, becomes health entries you can correct.

How to install Farkad AI

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

What Farkad AI does

The extraction engine behind Farkad: one sentence about your day, typed, spoken or photographed, becomes health entries you can correct. It shows which AI techniques a shipped product uses, and which it does without. Try it at farkad.web.app.

Alternatives in AI

  • Wiki Lint — Health-check the LLM Wiki for issues 2.3k ★
  • Agency Orchestrator — 🚀 One sentence → multi-AI-role collaboration → complete plan in minutes 453 ★
  • Ppt Agent Skill — 🎨 World-class AI presentation generator · 26 styles · 18 charts · benchmarked against Linear/Anthropic/Stripe 139 ★

README

farkad-ai

[![CI](https://github.com/brmel/farkad-ai/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/brmel/farkad-ai/actions/workflows/ci.yml) [![License: Apache 2.0](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)

The extraction engine behind [Farkad](https://farkad.web.app): it turns a sentence, a voice note or a photo into typed health entries. One routing call reads the capture and names the pillars it mentions (food, water, sleep…); one extraction call per tracked pillar it names then runs in parallel and answers in the schema the consumer supplies. Storage, auth and billing stay with the consumer.

Install

pip install "farkad-ai[google] @ git+https://github.com/brmel/farkad-ai"

The core imports no provider SDK. Pick one as an extra: `google` (Gemini on Vertex AI), `anthropic` or `openai`.

Usage

from google import genai

from farkad_ai import CaptureEngine, CaptureRequest, Logged, NothingToLog
from farkad_ai.models.vertex import VertexModel

engine = CaptureEngine(VertexModel(genai.Client(vertexai=True)), catalogue)
outcome = await engine.capture(CaptureRequest(tracked=(food, water), text="two eggs and a glass"))

match outcome:
    case Logged(extracted=extracted, refused=refused):
        print(extracted, refused)
    case NothingToLog(reason=reason):
        print(reason)

`catalogue` is every pillar routing may name (`PillarRegistryProtocol`). Each tracked pillar is a `TrackedPillar`: title, guidance, worked examples, entry schema and a `review` of each entry.

From the command line:

export GOOGLE_CLOUD_PROJECT=your-project GOOGLE_CLOUD_LOCATION=global
farkad-ai route --provider vertex --text "two eggs, a big glass of water, and I slept badly"

AI techniques

Technique Note
✅ Structured output Every answer is validated against a Pydantic schema
✅ [Multimodal input](htt