본문으로 건너뛰기
cccskills
무료GitHub에 공개

kelly-local-model-lab

Curate Busabase training examples, create immutable dataset snapshots, run reproducible LoRA or QLoRA fine-tunes on a local Apple Silicon Mac with MLX-LM, compare the untouched baseline and adapter on locked evaluations, and register approved adapters. Use when the user wants to train, fine-tune, evaluate, compare, promote, or manage a local language model with Busabase as the workflow source of truth. Do not use for RAG-only knowledge retrieval, cloud training, or training a foundation model from scratch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(68)

  • SKILL.md7.9 KB
  • agents/openai.yaml277 B
  • assets/screenshots/dataset.png130 B
  • assets/screenshots/evaluations.png130 B
  • assets/screenshots/overview.png130 B
  • assets/screenshots/registry.png130 B
  • busabase.json1002 B
  • content/_folder.json228 B
  • content/evaluations/base.json2.7 KB
  • content/evaluations/records.ndjson1004 B
  • content/kelly-local-model-lab-app/_node.json225 B
  • content/kelly-local-model-lab-app/.busabaseignore194 B
  • content/kelly-local-model-lab-app/app/accent-theme.css8.0 KB
  • content/kelly-local-model-lab-app/app/accent-theme.js7.7 KB
  • content/kelly-local-model-lab-app/app/app.js22.5 KB
  • content/kelly-local-model-lab-app/app/i18n/en.json3.9 KB
  • content/kelly-local-model-lab-app/app/i18n/zh-CN.json3.9 KB
  • content/kelly-local-model-lab-app/app/index.html4.4 KB
  • content/kelly-local-model-lab-app/app/js/busabase-client.js226 B
  • content/kelly-local-model-lab-app/app/js/config.js7.4 KB
  • content/kelly-local-model-lab-app/app/js/connect-gate.js1.7 KB
  • content/kelly-local-model-lab-app/app/js/lab-model.js7.8 KB
  • content/kelly-local-model-lab-app/app/js/providers/busabase-provider.js7.5 KB
  • content/kelly-local-model-lab-app/app/js/providers/demo-provider.js7.4 KB
  • content/kelly-local-model-lab-app/app/js/providers/index.js270 B
  • content/kelly-local-model-lab-app/app/js/runtime.js2.9 KB
  • content/kelly-local-model-lab-app/app/styles/base-ui.css21.7 KB
  • content/kelly-local-model-lab-app/app/styles/editorial.css30.7 KB
  • content/kelly-local-model-lab-app/app/styles/layers.css33 B
  • content/kelly-local-model-lab-app/app/styles/shell.css25.2 KB
  • content/kelly-local-model-lab-app/app/styles/workflow.css9.9 KB
  • content/kelly-local-model-lab-app/app/vendor/busabase-airapp-gate.css6.1 KB
  • content/kelly-local-model-lab-app/app/vendor/busabase-airapp-gate.js11.2 KB
  • content/kelly-local-model-lab-app/app/vendor/busabase-airapp.js556.0 KB
  • content/kelly-local-model-lab-app/app/vendor/busabase-sdk.js849.5 KB
  • content/kelly-local-model-lab-app/package.json1.1 KB
  • content/kelly-local-model-lab-app/pnpm-lock.yaml5.2 KB
  • content/kelly-local-model-lab-app/pnpm-workspace.yaml50 B
  • content/kelly-local-model-lab-app/scripts/check-editorial.mjs6.1 KB
  • content/kelly-local-model-lab-app/scripts/check.mjs4.3 KB
  • content/kelly-local-model-lab-app/scripts/runtime-detection-rules.mjs1.4 KB
  • content/kelly-local-model-lab-app/server.js3.1 KB
  • content/kelly-local-model-lab-app/test/lab-model.test.mjs4.2 KB
  • content/kelly-local-model-lab-files/_node.json169 B
  • content/model-registry/base.json1.7 KB
  • content/model-registry/records.ndjson418 B
  • content/settings/base.json802 B
  • content/settings/records.ndjson381 B
  • content/training-examples/base.json1.9 KB
  • content/training-examples/records.ndjson575 B
  • content/training-runs/base.json3.1 KB
  • content/training-runs/records.ndjson462 B
  • package.json625 B
  • pnpm-lock.yaml4.3 KB
  • pnpm-workspace.yaml50 B
  • README.md1.5 KB
  • references/lab-schema.md3.7 KB
  • requirements-mlx.txt61 B
  • scripts/mlx_smoke.py12.1 KB
  • scripts/publish_airapp.mjs3.1 KB
  • scripts/setup.mjs6.5 KB
  • scripts/support-qa-bridge.mjs9.6 KB
  • scripts/sync-content.mjs2.5 KB
  • scripts/validate-fixture.mjs2.3 KB
  • test/support-qa-bridge.test.mjs1.9 KB
  • training/fixture/test.jsonl3.3 KB
  • training/fixture/train.jsonl9.9 KB
  • training/fixture/valid.jsonl2.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Kelly Local Model Lab

Use Busabase as the durable data and control plane while a trusted local Worker performs compute on Apple Silicon. Fine-tuning changes behavior; it is not a replacement for RAG when the goal is to inject current knowledge.

Mandatory Dependencies

Before creating, provisioning, or changing the AirApp, read and follow:

  1. $kelly-app-skill-creator for product behavior and UI quality;
  2. $busabase for Space selection, node discovery, ChangeRequests, and trusted writes;
  3. $busabase-app-creator for AirApp runtime, SDK, security, validation, and deployment;
  4. $kelly-app-skill-creator-tests before claiming full conformance.

If a dependency is unavailable, keep the canonical local artifact and training pipeline intact, stop before the unavailable Busabase operation, and report the missing dependency. Never replace Busabase with SQLite, local JSON, or another persistent workflow backend.

Operating Boundary

  • The AirApp reviews examples, runs, evaluations, and registered adapters. It never launches MLX, reads local model files, or performs training itself.
  • A trusted local Agent/Worker claims one eligible training-runs record, downloads its immutable Drive snapshot, trains locally, writes heartbeats, uploads the adapter and report, and then marks the run terminal.
  • Busabase Base records hold structured state and provenance. Drive/File holds dataset snapshots, adapters, reports, and model cards. Vault holds only named credential requirements; values never enter the browser.
  • Base-model caches are disposable local compute caches. They are not canonical workflow state and need not be uploaded to Busabase.
  • A deployed AirApp cannot call the Mac's localhost. Inference or training requests cross the same reviewed Busabase job boundary.

Read references/lab-schema.md before operating on resources, exporting data, claiming work, evaluating, or registering an adapter.

Default Experiment

For a first Apple Silicon validation, use:

  • base model: mlx-community/Qwen3-0.6B-4bit for a fast smoke run;
  • method: QLoRA through MLX-LM;
  • task: short App-in-Skill brief to strict app_spec JSON;
  • metrics: JSON validity, schema validity, exact-field accuracy, and latency;
  • output: a LoRA adapter, never a rewritten foundation checkpoint.

For customer-support training, use task support_qa. Approved QA pairs from $kelly-support cross the trusted bridge into training-examples with their source article and pair ids, but return to needs_review before they can enter a snapshot. The evaluator reports normalized exact-answer match and Unicode character F1 instead of the app_spec JSON/schema metrics.

Treat the bundled training/fixture/ data as a pipeline smoke fixture only. It never impersonates reviewed Busabase data. Production experiments must carry a Drive snapshot reference and SHA-256 hash on the run record.

Workflow

  1. Inspect runtime readiness, the explicit Space, resource versions, and local Worker readiness. Do not read or mutate app resources before Space selection.
  2. Review examples individually. Use approve, request_changes, or block; preserve the note, reviewer, timestamp, source, and content hash.
  3. Export only approved examples. Split by source or another leakage-resistant grouping, write train.jsonl, valid.jsonl, and locked test.jsonl, upload one immutable snapshot to Drive, and record its SHA-256 digest.
  4. Create a ready training run containing the exact base model and revision, method, snapshot reference/hash, and config. Never train from a mutable live query whose contents cannot be reproduced.
  5. Claim the run atomically. Record claimant, attempt, claimed time, and heartbeat. Re-read eligibility before starting MLX.
  6. Evaluate the untouched base model first, train the adapter, then evaluate the adapter on the identical locked test file and decoding settings.
  7. Upload the adapter, full evaluation report, and model card. Record terminal status and sanitized errors. Do not mark a run done merely because MLX exited.
  8. Let a human choose promote, hold, or reject on the adapter evaluation. Promotion creates or updates a model-registry candidate/active record with base revision, dataset hash, run id, and artifact reference.

Local Smoke Command

Use an isolated virtual environment. The installed MLX-LM version must be pinned in requirements-mlx.txt before a result is treated as reproducible.

python3 -m venv .venv
.venv/bin/python -m pip install -r requirements-mlx.txt
.venv/bin/python scripts/mlx_smoke.py

Support QA handoff and training:

pnpm sync:support-qa
pnpm sync:support-qa -- --apply
.venv/bin/python scripts/mlx_smoke.py --task support_qa --data <snapshot-directory>

The bridge groups split assignment by source article so QA from one material cannot leak across train and locked test. A single source can populate a review queue, but it is not sufficient evidence for model promotion; collect at least three independent source groups and keep one or more groups locked for testing.

Outputs go under the ignored .cache/smoke-run/ directory. The script validates the fixture, hashes all splits, records the exact package version and command, evaluates the baseline, trains, evaluates the adapter, and writes report.json.

UI

  • #/overview: readiness, approved split counts, active runs, candidate adapters, pipeline stages, latest baseline/adapter delta, and recent runs.
  • #/examples[/<id>]: desktop list/detail review queue and separate phone list and detail panes with stable example ids and review actions.
  • #/runs: base model, method, claim/status, heartbeat, artifacts, and failures.
  • #/evaluations: locked baseline/adapter comparisons and promotion verdicts.
  • #/registry: active, candidate, and retired adapters with complete lineage.
  • #/settings: responsive Help & Settings modal with guide, resources, and sanitized training configuration.

Demo mode is explicit and in-memory only. ?demo=1 opens the overview; ?demo=dataset, ?demo=evaluations, and ?demo=registry open named screenshot scenes. lang=en or lang=zh forces the UI language. Demo never claims a real connection, writes Busabase, or proves the local Worker is online.

Completion

Do not claim a production fine-tune until:

  • the snapshot came from reviewed Busabase examples and has a stable Drive ref/hash;
  • the base model revision, MLX-LM version, command, and config are recorded;
  • baseline and adapter used the same locked cases and decoding settings;
  • adapter artifacts and reports exist and are referenced by a terminal run;
  • the human promotion verdict is recorded against the evaluated version;
  • app checks, local/OSS conformance, responsive browser checks, and available Cloud/AirApp suites passed or are explicitly reported as skipped.

Stop when the Space or dataset is ambiguous, examples lack review/provenance, the run changed after claim, test leakage is detected, the model license is incompatible, an artifact hash fails, or a secret would cross into the browser.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Align all AI coding agents to a single source of truth. AGENTS.md for rules, .agents/skills/ for skills, symlinks for everything else. Use when setting up a repo for multiple agents, or when links are missing, broken, or out of date.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mr-kelly/skills52026년 10월 22일 업데이트

Read, answer and post on the Buda community forum at community.buda.im through its /api/v1/community REST API. Lists categories and posts, reads a thread with its replies, searches, and publishes posts and replies behind an explicit confirmation. Use when the user invokes $buda-community or /buda-community, asks what is happening in the Buda community, wants an unanswered question triaged or answered, or wants something posted or announced there.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mr-kelly/skills52026년 10월 22일 업데이트

Read, answer and post on the Busabase community forum at community.busabase.com through its /api/v1/community REST API. Lists categories and posts, reads a thread with its replies, searches, and publishes posts and replies behind an explicit confirmation. Use when the user invokes $busabase-community or /busabase-community, asks what is happening in the Busabase community, wants an unanswered question triaged or answered, or wants something posted or announced there.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mr-kelly/skills52026년 10월 22일 업데이트

kelly-ads

무료

Ad-campaign command desk (投放指挥台, Busabase App-in-Skill) for a cross-border e-commerce seller running Amazon Ads, Meta (FB/IG), TikTok Ads, and Google Ads. Use when the user invokes $kelly-ads or /kelly-ads, or asks about 投放, ad campaigns, ad spend, ACOS, ROAS, Amazon Ads, TikTok ads, Meta ads, Google Ads, search terms, negative keywords, bid adjustment, budget pacing, CPC spikes, rejected ads, ad anomaly detection, 广告优化, or reviewing agent-proposed adjustment cards (negative keyword, bid down/up, pause target, budget shift, creative refresh).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mr-kelly/skills52026년 10월 22일 업데이트

Busabase-backed App-in-Skill low-code agent configuration and governance console for a platform team. Use when the user invokes $kelly-agent-builder or /kelly-agent-builder, wants to review or edit a catalog of mock LLM agent configs, check quota usage, find configs that need attention, move a draft to live, pause a live agent, or archive an agent. Mock config/governance console only — it never provisions or calls any real agent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mr-kelly/skills52026년 10월 22일 업데이트

Review board (Busabase App-in-Skill) that runs a fixed suite of mock test cases against a baseline vs candidate agent version and surfaces rubric-scored regressions before a release. Use when the user invokes $kelly-agent-eval or /kelly-agent-eval, wants to review agent-version regressions, compare baseline vs candidate quality, triage a release, or record a release approve/block decision. Deterministic mock rubric scores only — not a real LLM-judge call, and it never deploys anything.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mr-kelly/skills52026년 10월 22일 업데이트

mr-kelly의 스킬 모두 보기

이 스킬의 문제 신고