شعار Alchemy

Alchemy

مؤسسة
l-gevity
alchemy

Runs a lightweight change preflight, then routes non-trivial design, refactor, and audit work through only the needed requirements and A.L.C.H.E.M.Y. skills. Explicitly trigger with `/alchemy`, `$alchemy`, or natural phrases such as "do some alchemy", "run alchemy on this", "use alchemy", or "give this an alchemy pass". Use for architecture, complexity, enforcement, shift-left, optimization, subsystems, increments (vertical slices), abstractions, cross-boundary refactors, consolidation, and over-engineering audits. Explicit invocation on a local bug fix, content or CSS edit, dependency bump, or trivial rename returns a cheap `SKIP` or `DIRECT` dispatch instead of loading every gate. Defines no new domain rules; routes to core sibling skills and task-matched companion skills.

نظرة عامة

الناشرl-gevity
المستودعl-gevity-skills
اسم المهارةalchemy
النجوم
72
التفريعات
13
الملفات المرفقة
3
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها l-gevity على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Alchemy في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/alchemy
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/l-gevity/l-gevity-skills.git /tmp/l-gevity-skills
mkdir -p .claude/skills
cp -r /tmp/l-gevity-skills/.agents/skills/alchemy .claude/skills/alchemy
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Alchemy في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Alchemy تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Alchemy بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Alchemy

Command entrypoint for the adaptive A.L.C.H.E.M.Y. gate system. Requirements qualification spans the Minimum gate without adding letters to the acronym. Keep the default response terse: resume from the latest trustworthy decision, route to the smallest useful stage set, state the verdict, and name the next action.

1. Command Grammar

Invoke as /alchemy <alias> <subject> in Claude Code or $alchemy <alias> <subject> in Codex; the alias is optional. Natural language is equivalent: do some alchemy, run alchemy on this, use alchemy, and give this an alchemy pass all request adaptive dispatch on the active subject.

The subject is the invocation arguments. Where commands expand arguments, $ARGUMENTS is that string; if it is empty or literally unexpanded, use the surrounding request text. A natural phrase with no explicit subject uses the active request or most recent unresolved task; never ask the user to restate context already in the conversation or worktree. ?, help, --help, or an empty command with no active subject returns only this table.

AliasRoute
noneRun the dispatch preflight; infer Design, Refactor, or Audit mode
auditStart at the read-only C₀ structural baseline; recover requirements only when intent is missing, stale, contradictory, or disputed
full, all, walk the gates, complete alchemyFULL: traverse every justified stage; record why any conditional stage is skipped
M, minimum, necessity, worthfunctionality-complexity-tradeoff — worth it?
A, architecture, first-principlesarchitecture-guidelines — sound design?
L, locality, placementmorphogenetic-architecture — where does it belong?
C, complexity, simplifystructural-simplification — simpler?
E, enforcement, architecture-as-codearchitecture-as-code, plus -javascript or -python only when rule files are written or changed — rules as code?
H, hermetic, shift-leftdefect-shift-left, plus ci-cd-reliability-architecture for pipeline reliability — catch earlier?
Y, yield, optimizesystem-optimization — optimize flow?
leftdefect-shift-left — detect defects earlier
out, push-outpush-out — move toil out of humans
down, bring-downbring-down — move bespoke code down
zero-copy, source-of-truthzero-copy-requirements
deps, dependencydependency-lifecycle
infra, infrastructureinfrastructure-fit
signal, observabilityobservability-design

left, out, and down form the DevOps improvement triad, outside the seven-gate sequence: run a triad move only when the user names it. During /alchemy Y, recommend out or down when the bottleneck is manual toil or bespoke implementation, but do not run them unless the user asks.

Dispatch Preflight

Classify before reading any sibling skill body. Make dispatch the first observable checkpoint: decide from the request, already-loaded context, skill metadata, and the latest trustworthy decision artifacts; do not scan the repository or open sibling bodies merely to choose a dispatch. After emitting the dispatch, inspect only the artifacts and skills the route selects.

DispatchSelect whenCore route
SKIPLocal behavior stays inside one governed boundary and asks no Alchemy question: copy/CSS, trivial rename, contract-preserving dependency bump, isolated in-boundary fixNone: load no gate skill; continue with matching companions and normal verification
DIRECTAn alias, or one unambiguous gate question: worth, dead code, speculative abstraction, or "should this exist?" is M; a defect found late, check placement, or CI detection timing is H or leftOnly that gate or triad skill
ADAPTIVEStructure, responsibility, data flow, abstraction, multiple requirements, or boundaries may changeThe smallest justified set: a structural refactor inside one boundary is M, C, plus A when responsibility or public contract changes and H when verification placement changes; a new subsystem/service/library, cross-boundary dependency, increment cut through every layer (vertical slice), consolidation, or an aspect added or changed across several subsystems (auth, audit, logging, retry, i18n) is qualification as needed, M, A, L, C, E, H; an existing-code over-engineering audit is Audit mode from C₀
FULLThe user explicitly says full, all, walk the gates, or complete alchemyEvery justified stage, every skip recorded

Do not run every gate by default: only explicit full language selects FULL, and Alchemy FULL is a traversal dispatch, not a gate's analysis mode. Do not convert uncertainty into FULL; select the smallest plausible route, state the uncertain signal, and stop at the first missing prerequisite.

Gate and triad aliases are authoritative: use only that core gate or triad move, even when the subject mentions subsystem boundaries, and expand the core route only for explicit full, all, audit, walk the gates, or complete alchemy. Focused aliases never silently run requirements qualification. If a focused gate lacks a prerequisite, report the missing decision artifact and stop at that gate unless the user asked for a broader pass. The prerequisites:

  • Gate E remains blocked until Gate 3 records final acceptance; a MOVE, SPLIT, MERGE, or INTRODUCE-BOUNDARY first runs the bounded L candidate → C measurement → L acceptance handshake, re-entering L once.
  • Gate E also waits for a passing readiness decision in a full pass.
  • Gate Y runs in iteration 2, the iteration after the increment ships, from its stable, measured baseline, unless the request is explicitly about an existing bottleneck.

ADAPTIVE, FULL, and audit read the route in §2 before selecting stages.

Companion Skill Routing

Alchemy owns the core qualification and gate route, not every task domain. From skill metadata and project instructions, select any non-Alchemy skill whose trigger independently matches the subject, and read only the selected companion bodies. A project profile may require companions for its domain, stack, UX, security, accessibility, API, release, or evidence rules; never hard-code project-specific companion names into this generic skill.

  • When the subject decides where a fact, decision, or document belongs — a proposed document, a decision record, an architecture note, a status page, or a documentation-tree audit — select zero-copy-requirements. It names the artifact that owns the question; push-out prunes prose already covered by an executable source, and requirements-traceability anchors evidence once the location exists. None of the three is a qualification stage, gate, or acronym letter.
  • When an advisory, drift, abandonment, license change, or end-of-life date names an owned dependency, select dependency-lifecycle; it classifies the bump, and only a contract-preserving bump is SKIP.
  • When a risk survives verification into production, or alerts or telemetry are under review, select observability-design.
  • When infrastructure is chosen, inherited, or questioned, select infrastructure-fit.
  • test-strategy and evolutionary-database-design are two-pass companions that bracket A/L/C/E; the route in §2 orders their passes.
  • SKIP skips only the Alchemy core; it never suppresses a matching companion. DIRECT keeps the core route focused while allowing independently triggered companions.
  • Report companions explicitly. Use None when no companion trigger matches.

Execution Strategy

Execution is a second decision after dispatch, never a fifth dispatch: it decides whether one agent or several carry out the selected route, and the user never names agents. SKIP and DIRECT run single-agent and never load orchestration. ADAPTIVE, FULL, and audit select multi-agent only when the work changes or audits code and at least two parts are independent — different subsystems, disjoint files, no ordering between them — or a high-risk change (security, public contract, persisted shape) needs a reviewer that did not write it. Count every agent: one writer and one independent reviewer is multi-agent. The number of gates or skills on the route is never a reason. Stay single-agent and say why when neither holds, when the project's alchemy-workspace.json sets execution.multi_agent to off, or when the runtime cannot launch agents. On multi-agent, load alchemy-orchestrate before the first stage that changes or audits code; it plans, launches, verifies, and gates the agents.

Change Primitives

Every stage describes change with four primitives: a Subsystem is where change lands, an Aspect is which dimension is touched, an Increment is what changes, and an Iteration admits, realizes, and measures one increment. Each sibling names its own term as a specialization of exactly one and never redefines them; references/change-primitives.md defines them and maps each sibling term. Decomposition and aspect extraction are different cuts: decomposition splits one subsystem into several; extraction pulls one aspect out of several subsystems into one mechanism. A design that models an aspect as a subsystem, or copies its mechanism per subsystem, has confused the two.


2. Adaptive Requirements Qualification

text
Requirements Grounding, when evidence or meaning is absent or stale
→ M — Minimum
→ Requirements Topology, when relationships are non-trivial
→ Implementation Readiness
→ A — Architecture → L → C → E → H → Y

Qualification stages are conditional and never become acronym letters. Before selecting stages for ADAPTIVE, FULL, or audit, read references/adaptive-route.md: routing rules, decision hand-offs, the gate table, the Gate 3–4 handshake, the two-pass companion order, core directives, the pre-flight checklist, and the retrospective order. SKIP and DIRECT never need it.

Read references/failure-modes.md when a run's result looks wrong, an audit shows a symptom, or a trail has an unexplained skip; route the recovery to the named stage instead of rerunning every gate.


3. Output Contract

Default output for a single-gate or simple routed request:

Dispatch:   <SKIP | DIRECT | ADAPTIVE | FULL>
Core route: <None | M | A | L | C | E | H | Y | left | out | down | ordered set>
Companions: <None | task-matched skills>
Execution:  <single-agent | multi-agent> — <independence or risk fact>
Verdict:    Proceed | Redesign | Drop | Defer
Reason:     <one or two lines>
Next:       <one concrete action>

For SKIP, emit this compact output alone with Core route: None; do not load a core sibling merely to justify the skip.

Multi-stage runs, non-trivial design/refactor passes, audits, and explicit requests for detail emit one combined decision trail in execution order, including every stage used and every conditional stage skipped:

StageSkillDecisionEvidence / hand-offFiles/checksNext action or skip rationale

Then state:

Scope:          <subsystem / service / refactor / PR>
Mode:           Design | Refactor | Audit
Dispatch:       SKIP | DIRECT | ADAPTIVE | FULL
Companions:     <None | task-matched skills>
Execution:      single-agent | multi-agent
Blocking stage: <first non-passing qualification decision or gate, or None>
Decision:       Proceed | Redesign | Drop | Defer
Verification:   <commands, lint rules, tests, or Not run + reason>

Lead any run that reaches a verdict with the four report blocks the root instruction file defines, What I found, Why it matters, Do this first, and What I did not check, then emit the records unchanged: the trail and scope block, then each stage that ran in execution order, with the decision record its skill's output contract defines. The trail summarizes stages; it never replaces a stage's record. When implementing changes, add the normal coding summary after the verdict.

4. Discipline

  • Skipped stages require a one-line rationale. A skip without one is a defect and an over-engineering risk for the next audit.
  • Natural language stays adaptive. "Do some alchemy" never means FULL without explicit full-traversal language.
  • Load each stage when the route reaches it. Read a stage's or companion pass's SKILL.md only once every stage before it has passed, never ahead. A blocking decision in the route's hand-off table ends the route for that candidate: the stages after it stay unloaded and appear in the trail as Not run with that decision as the reason. Only candidates with a passing decision continue.
  • Claim only what ran. Core route and the trail name a stage's decision only when its SKILL.md was read in this task; a selected stage that did not run appears in the trail as Not run with the reason.
  • When a gate is consistently skipped across tasks, that's a signal for continuous-improvement to update THIS skill — not paper over with case-by-case reminders.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Alchemy؟

Runs a lightweight change preflight, then routes non-trivial design, refactor, and audit work through only the needed requirements and A.L.C.H.E.M.Y. skills. Explicitly trigger with `/alchemy`, `$alchemy`, or natural phrases such as "do some alchemy", "run alchemy on this", "use alchemy", or "give this an alchemy pass". Use for architecture, complexity, enforcement, shift-left, optimization, subsystems, increments (vertical slices), abstractions, cross-boundary refactors, consolidation, and over-engineering audits. Explicit invocation on a local bug fix, content or CSS edit, dependency bump...

لماذا تستخدم Alchemy على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Alchemy عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Alchemy في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/l-gevity/l-gevity-skills/tree/main/.agents/skills/alchemy. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Alchemy؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Alchemy؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Alchemy معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Alchemy مجانية؟

نعم. نشرها l-gevity على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇