Enliven 标志

Enliven

社区
proxysoul
enliven

在不损失任何功能的前提下,让 Electron 或 Web 应用显著提速,并用数据证明。智能体会构建可重复使用的 A/B 测试框架,通过 Playwright 驱动真实生产构建,并通过 DevTools 协议读取 Chromium 自带的计数器;它不会靠猜测,而是借助 Blink 样式失效追踪、React 提交探针,以及帧、唤醒和 GPU 探针找出性能开销的原因;随后证明修复前后外观像素级一致,修正根本原因,按相同方式重新测量,并生成独立的 HTML 报告,让性能退化和提升都一目了然。用户要求分析性能、提速、缩小体积、查找内存泄漏、对桌面或 Web 应用进行优化前后基准测试,或生成性能报告时使用。

概览

发布者proxysoul
代码仓库SoulStack
技能名称enliven
星标数
29
复刻数
5
附带文件
11
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 proxysoul 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Enliven AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/proxysoul/SoulStack/tree/main/skills/enliven
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/proxysoul/SoulStack.git /tmp/SoulStack
mkdir -p .claude/skills
cp -r /tmp/SoulStack/skills/enliven .claude/skills/enliven
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Enliven,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Enliven。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Enliven 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Enliven

Turns "make the app fast" into a number you can defend. The output is three things: root causes named at file:line, a harness anyone can re-run, and an HTML report whose every figure comes from a JSON file the harness wrote.

It is distilled from a real Electron audit where the first two attempts failed independent review. Every rule below is a mistake that got caught. Follow them up front and skip those rounds.

ensoul gives a product a soul, immune-system keeps it well, and this one makes it lively: an app that answers the instant you touch it and carries no weight it does not need. Same construction as ensoul, same idea one step further in: not what it looks like, but how alive it feels to use, proved with numbers rather than asserted.

The shape of the work is one loop: measure → find the cause → fix the cause → measure the same way → report honestly. Never skip a step, never reorder, and never let the report get ahead of the data.

The short path

The scripts in scripts/ are the audit already written down. Do not rebuild them from scratch; the exploration is what took the time, and it is already spent.

sh
cp scripts/profile.example.mjs perf-profile.mjs   # fill in: entry, selectors, phases, cycle
node scripts/perf-ab.mjs --profile=./perf-profile.mjs --app=<build> --label=before --out=./perf
node scripts/style-trace.mjs --profile=./perf-profile.mjs --app=<build> --phase=<worst phase> --out=./perf/style-trace.json
node scripts/cpu-profile.mjs --profile=./perf-profile.mjs --app=<build> --phase=<worst phase> --out=./perf/worst.cpuprofile
node scripts/cpu-analyze.mjs ./perf/worst.cpuprofile --mode=summary --root="$PWD"
node scripts/cpu-analyze.mjs ./perf/worst.cpuprofile --mode=longtasks --root="$PWD"
node scripts/trace-analyze.mjs ./perf/style-trace.json --mode=selectors
node scripts/frame-probe.mjs --profile=./perf-profile.mjs --app=<build> --after=<phase> --label=frames-before --out=./perf/frames-before.json
#   fix what the trace or profile names, rebuild from a purged output directory
node scripts/look-equivalence.mjs --profile=./perf-profile.mjs --app=<build> --css=./perf/fix.css --out=./perf/look
node scripts/perf-ab.mjs --profile=./perf-profile.mjs --app=<build> --label=after --out=./perf
node scripts/perf-report.mjs --before=./perf/before.json --after=./perf/after.json \
     --changes=./perf/changes.json --out=./perf/report.html

Writing perf-profile.mjs is the only real work: name the phases people actually perform, and make the leak cycle end where it began. Read reference/traps.md first, in full. Every line in it cost a failed review.

frame-probe.mjs and look-equivalence.mjs share harness.mjs and find playwright-core from --app, so they run straight from the skill folder. Give the profile an optional focus(context, focused) hook (tell the app it lost focus the way the OS would) and a looks map of named states (light, dark, a panel open) for them to use.

These scripts have been run end to end against a real Electron build, not just written: a five-phase profile produced boot timings, per-phase CDP counters, a three-cycle leak series with flat node counts, and an HTML page. On that run the orphan count came back at 866 files and 43 MB, which was correct: the output directory had accumulated stale chunks from earlier builds. Purge it before you trust any bundle number, exactly as Phase 4 says.

The phases below explain why each script does what it does. Read them when something does not fit your app, not before your first run.

Phase 1: Build the harness before you look at any code

The first instinct is to open a profiler and start reading flame graphs. Resist it. A flame graph of one run on a busy laptop tells you nothing you can defend later. Build the measuring instrument first, and make it produce a JSON file.

One script, checked into the repo, that takes --app=<dir> --label=<name> --out=<dir> --repeats=N and writes <label>.json. It must:

  1. Launch the real production build, not a dev server and not a test renderer. Optimisations that only exist in a dev build are not optimisations. For Electron, Playwright's _electron.launch against the built main entry.
  2. Run every phase N times and report the median. Three is the floor. A single run on a shared machine moves by tens of percent.
  3. Read the engine's own counters, not a stopwatch. Over the DevTools protocol, Performance.getMetrics gives TaskDuration, ScriptDuration, RecalcStyleDuration, LayoutDuration, RecalcStyleCount, LayoutCount, Nodes, JSEventListeners, JSHeapUsedSize. Those last four are the leak triad plus the DOM size.
  4. Count renders without React DevTools. Install a window.__REACT_DEVTOOLS_GLOBAL_HOOK__ stub in an init script with supportsFiber, a renderers Map, inject, and onCommitFiberRoot. Counting commits is one line. Walking the fiber tree for flags & PerformedWork gives per-component render counts and which of them had identical props and state, which is the wasted-render number. Enable probes.react only on diagnostic runs; its fiber walk changes the cost being measured.
  5. Count animation frames. Wrap requestAnimationFrame in the same init script. An idle window doing 74 callbacks per second is a finding on its own.
  6. Be hermetic. Seed a throwaway config home per run: a temp dir, HOME/USERPROFILE/LOCALAPPDATA pointed at it, and a config file written with the onboarding and intro flags already set. Without this the benchmark silently inherits the developer's real settings, the numbers are not reproducible on another machine, and the run stops on a first-run screen on any clean OS. This one item is what makes the harness portable; it is not optional.

The phases are what people actually do

Not microbenchmarks. Every desktop app has the same five shapes; name them in your own product's words:

ShapeA chat clientAn editorA dashboardA media app
Load a big documentrestore a long sessionopen a 5,000 line fileload a board with 200 cardsopen a large library
Take content in over timestream an answertype a paragraphreceive a live metric feedscrub a timeline
A burst of list churn40 tool callsrapid autocompletea filter over every rowa playlist reorder
Move between viewsswitch tabsswitch filesswitch boardsswitch albums
Scroll, hover, sit stillthe transcriptthe gutterthe gridthe grid

Idle is the most revealing phase and the one everyone forgets: an app that costs anything while nothing is happening is burning battery for free. The examples throughout this skill come from a chat client because that is where it was distilled; the harness itself knows nothing about chat, and every app-specific detail lives in your profile.

The leak loop has to close

Run 6-10 identical cycles at the end, force garbage collection twice between each (HeapProfiler.collectGarbage), and fit a least-squares line through heap, node count and listener count.

The cycle must return the app to the same state it started in. If each cycle appends a message, opens a panel, or otherwise adds content, the series measures accumulation, not retention, and the "leak" it reports is fiction. End every cycle by replaying the identical restore payload, then assert the DOM node count is flat before you believe any heap number.

Soak with what people really have, then purge

A closed cycle proves the DOM and listeners come back. It does not find memory that grows with use, and that is where the user's complaint usually lives. Add one soak: the heavy content the product really carries (large images, long documents or logs, many open views, a big saved state restored from disk), for 30 to 60 rounds, then put the app back in a small state and check that memory comes down.

  • Read the process footprint, not the JS heap and not RSS. Decoded images, allocator buffers and GPU textures never show in JSHeapUsedSize; memory-mapped files inflate RSS with pages the OS can drop. On macOS use footprint <pid> (phys_footprint), on Windows the private working set, and Chromium's own memory dump (Tracing with disabled-by-default-memory-infra) to split it into partition_alloc, cc/image_memory, v8 and gpu.
  • Anything that keeps full copies (undo history, change logs, closed views, caches keyed by content) gets a byte budget, compression for cold entries and a trim on memory pressure. Count it in bytes: V8 and JavaScriptCore store a string with one non-Latin-1 character at two bytes per character.
  • Check the host process too. A Node or Bun process that ran a big one-off job keeps the high-water mark; a terminated worker's heap is not always handed back to the OS.

Phase 2: Find the cause, do not guess it

Each probe answers a different question. Run the one that matches the phase that came out worst.

ProbeAnswers
CPU profile and analyzerWhich functions and modules consumed self or inclusive time, who called them, what ran under a target, and which sampled spans formed long tasks
Blink invalidation traceWhich CSS rule scheduled each style recalculation, and how many elements it touched
Trace analyzerSelector matching cost, invalidation reasons, layout totals, and long trace events from a saved Chrome trace
React commit probeWhich component rendered, how often, which renders were wasted, and what triggered the root of each render
React Compiler bailout reportEvery function the compiler refused to memoize, with the reason and the line
Frame probeDrawn frames and BeginFrames per second, CPU per process (renderer, GPU, browser, helpers), idle wake-ups, every timer and animation frame scheduled while still with its caller, and the composited layers with their texture size and promotion reasons
Look equivalenceWhether a CSS change alters a single pixel, against the noise floor of an untouched repeat
Host-process profileEvent-loop lag and CPU of the main or back-end process, which no renderer probe sees

CPU profiles name the JavaScript cause

Run cpu-profile.mjs after the A/B harness has named a bad phase. It launches the same profile, replays all earlier phases, samples the target phase through CDP's Profiler domain, and writes a standard .cpuprofile file that Chrome DevTools can open. cpu-analyze.mjs keeps the useful GUI-QA views in a portable CLI: summary, window, anchor, who, children, modules, and longtasks. Pass --root=<project> to turn absolute file URLs into reviewable src/...:line paths without baking a machine path into the report.

The profiler samples the renderer only. Use --anchor=<function> with --before=<ms> --after=<ms> for a request or interaction, --window=<seconds> --skip=<seconds> for a settled idle tail, --target=<function> with --mode=who or --mode=children for caller and child attribution, and --mode=modules --needle=<regex> for dependency cost. A profile is evidence for a cause, not a replacement for the before/after counters.

The style trace is the one people skip

Start a Tracing session over CDP with blink.style, devtools.timeline and disabled-by-default-devtools.timeline.invalidationTracking, drive one interaction, then aggregate ScheduleStyleInvalidationTracking by reason and node, and StyleRecalcInvalidationTracking by reason. It names the selector.

In the audit this came from, style recalculation was 47% of main-thread time, and two CSS rules caused most of it. Neither drew anything.

The :has() trap. A descendant :has() whose subject is an ancestor of frequently-mutated content makes the engine schedule an invalidation on that ancestor for every DOM mutation underneath it. html .app:has(> .backdrop) :is(.header, .main, .footer) scheduled 1,211 whole-application invalidations during one burst of incoming content, re-styling 107 elements each time, while the backdrop was not even mounted. Any app with a live region has this shape: a log tail, a chat, a table that updates, a canvas with a DOM overlay. Sibling :has() (:has(~ .x)) is much cheaper than descendant :has(); an attribute the component already knows how to set is free. Replace :has() on a hot ancestor with a data- attribute set from the same condition the component renders on.

The compositor-layer trap. will-change: transform on an element that is 18 pixels wide costs more than it saves. Promote only what visibly moves, and check the size at which it is actually rendered.

The per-instance listener trap. A component that registers its own window listener costs N listeners for N instances, and every event wakes all of them. One shared dispatcher in a coordinator that already tracks which instances are on screen, fanning out only to those, is the fix. While you are there: element scroll events do not bubble to window, so a window scroll listener meant for an inner scroller has never fired. Check before you "optimise" it; you may be optimising dead code.

Below the renderer: frames, GPU and the host process

Main-thread counters miss most of what drains a battery. Run frame-probe.mjs on the idle phase and on the busiest one, with the window in front and, through the profile's focus hook, behind another window.

  • The GPU pays per drawn frame. In the audit this came from, each frame of the full app window cost about 4 ms in the GPU process against 0.3 ms for a bare page, and the cost did not change between a 900x600 and a 2400x1350 window. Count drawn frames before anything else: the cheapest frame is the one that is never drawn. An idle window drawing 60 frames a second is the finding; per-pixel tricks are not.
  • Effects nobody can see still cost. A backdrop-filter under an opaque fill draws nothing, yet it makes the compositor build render surfaces every frame and pins GPU memory. List every blurred element with its own background alpha; an alpha of 1 is a blur that cannot show.
  • Wake-ups come from timers, not just frames. A 400 ms poll that checks for a change woke one idle page 20 times in 8 seconds; reacting to the event instead woke it once. The census in frame-probe.mjs names the caller of every timer and animation frame that fired while nothing happened.
  • The host process is profiled separately. A synchronous fsync per step, a file polled every 40 ms for each running command, or a queue of startup calls drained one at a time can stall a busy back-end while the renderer looks fine. Measure event-loop lag (a timer that records how late it fires) and take a CPU profile of that process, under the same load as the renderer phase.

React Compiler bailouts. One bailout unmemoizes a whole component, and if that component is high in the tree it re-renders on every state change below it. The usual causes are try/finally inside the component, reading a ref during render, a dynamic import() of a module also imported statically, and update expressions on variables captured in closures. Hoist the offending code to a module-level function; the compiler does not compile those. Keep a baseline file of skipped-function counts per file and fail the build when a file rises above it.

Phase 3: Fix causes, and revert what does not pay

Fix the thing the trace named, not the thing nearby that looks untidy.

Bundler chunk grouping is a trap with a high failure rate. Hand-written vendor groups produce cross-chunk edges that drag large feature chunks into the boot graph. The temptation is to rewrite the grouping. Measure the rewrite against a clean build before keeping it: in the audit this came from, the rewrite pushed 379 KB into the boot path and the problem it was meant to fix turned out to be an artifact of an incremental build. It was reverted. A change that does not pay for itself in the measurement is not a change, however clever the reasoning was.

Keep the look: throttle, do not delete, and prove it with pixels

"Faster without losing a feature" includes how it looks. Two rules keep it honest:

  • Throttle what moves; do not remove it. Removing an animation is a feature cut. Step long or looping animations onto one shared clock instead (for example 30 frames a second in front, 10 behind another window, using steps() timing and a start time snapped to the tick) so every loop stays visible and the compositor skips the frames whose value did not change. Animate a wrapper rather than an <svg> (an animated SVG is never composited), and fade a pseudo-element rather than animating box-shadow.
  • A change that should be invisible is proved invisible. look-equivalence.mjs freezes motion, screenshots each of the profile's looks, applies the change, screenshots again, removes it, and screenshots a third time for the noise floor. The change passes only if it alters no more pixels than the untouched repeat did. Run it in light and dark, and with the state that shows the effect (a focused field, an open menu). It writes the before, the after and a red change mask when a state fails.

Framework upgrades are measured like everything else. Pin them to the one app under test rather than a shared catalog when other surfaces in the repo would be affected mid-flight. Read the release notes for the thing you are actually fixing: a minor that batches resize-driven updates to the next frame is relevant to a layout-thrash finding; most of the rest is not.

Phase 4: Measure bundles from the graph, never from the directory

Summing every file in the output directory is wrong twice over. Incremental builds leave stale hashed chunks behind, so the total counts files no shipped page loads; and it treats a lazily-loaded 4 MB editor the same as the entry chunk.

Parse the built entry HTML, walk static imports for the boot-critical set, then walk every asset-path string literal for the reachable set. Modern bundlers emit lazy chunk paths in a dependency array rather than a literal import("./x.js"), so a regex for import( alone finds nothing and reports every lazy chunk as an orphan. Report boot-critical, reachable, and orphans as three separate numbers, and purge the output directory before each build so orphans mean something.

Phase 5: Every claim in the report is a check that can fail

A metric that cannot come out badly is decoration. Before you put a number in the report, ask what value would embarrass you, and confirm the harness could produce it.

The worked example: a claim that panels never show a loading skeleton, measured by a counter that only incremented while nothing ever navigated. It read zero on both sides and proved nothing. Rewritten to click through real destinations and record, per switch, whether a skeleton appeared between the click and the panel arriving, it read 3 of 3 on both sides. That is a real finding, it contradicts the stated policy, and it belongs in the report.

Phase 6: The report

One self-contained HTML file, generated by a script from the two JSON files. No network, no build step, opens from disk. Generated, never hand-written, so it cannot drift from the data. It should regenerate in one command after any re-run.

  • Lead with the honest headline. If streaming got no faster, the headline does not say streaming got faster. Derive the hero figures from the data so they cannot go stale when the numbers change.
  • Show where the time went, not just how much. A stacked bar per phase, split into style, layout, script and other, before above after on one shared scale. The shape of the bar is the finding.
  • Print the regressions in red, in the same table. Add a "phases that came out slower" block that lists them by name. A report that shows only wins is not a measurement.
  • Say which numbers to trust. Wall-clock milliseconds on a shared machine move by tens of percent between runs of the same binary; counts do not. State the observed spread, and say plainly: where a timing and a count disagree, believe the count.
  • State what the method cannot conclude. If the heap climbs monotonically, say monotonic growth is what a leak looks like, give the unchanged build's slope for comparison, and say that separating retained objects from uncollected garbage needs a heap-snapshot diff this suite does not take. Do not write "no leak" when what you measured is "no DOM or listener leak".
  • List every change at file:line with the evidence that motivated it, including the ones you reverted and why.

Let ensoul design the page

scripts/perf-report.mjs ships a neutral dark theme so it works in any repo on day one. When the project has a design_system/ folder, the report should look like the product, not like a tool:

  1. Read design_system/README.md, then worlds-and-color.md and type-layout-scale.md.
  2. Replace the :root block in the generator with that project's tokens: paper, ink, ink-soft, rule, the brand colour and the status colours. The generator already uses four segment colours and three text weights, so it is a direct swap.
  3. Use the brand colour for this product's bars and a muted ink for the comparison, the same rule ensoul gives charts.
  4. Check it the way ensoul checks a page: screenshot at 390, 1440 and 3440 wide, in dark and light, and confirm no number wraps and no bar overflows its track.
  5. If the project has no design_system/ and the user wants the report to carry the brand, run ensoul phase 1 and 2 only (understand the product, pick tokens) and stop there. A full redesign is not part of a performance audit.

Either way the page stays a page, not a dump: one type family for prose and one for figures so columns align, generous space, no decoration that is not a number. Tables only where there are three or more things to compare on two or more dimensions.

Phase 7: Other platforms

The same harness, the same two builds, on each OS the app ships to. Expect the harness itself to be what breaks first, and fix it for everyone rather than special-casing:

  • Build a file:// URL with pathToFileURL, never string concatenation. file://C:\... is not a URL.
  • Seed the config home (Phase 1). A clean machine stops on the first-run screen; your machine does not, because it has your real config.
  • Some package managers use directory junctions that the platform's own shell refuses to traverse. Point the runtime at an extracted distribution through its documented environment variable instead of writing inside the dependency tree.
  • Build scripts that shell out to tools missing on that box need to be invoked directly rather than through the package script.

When a platform cannot be measured in the time available, say exactly how far it got and what the remaining blocker is. "Builds and launches, stops at X, no renderer errors" is a useful result. "Not tested" and a claim that it probably works is not.

With Empryo

SoulStack comes from Empryo's creator. Every step above works in any agent; in Empryo there is more to work with, and skipping it means doing by hand what the tools already know.

  • Ask the Genome before you read anything. genome_query chains search, filter, dependents and outline in one call, so "which files import the component the trace named" is one question, not a grep loop. navigate gives callers and definitions; genome_impact tells you the blast radius of a hot file before you touch it, and cochanges names the files that historically move with it.
  • Check for the fix before writing one. api.genome.clones and identifierFrequency in code_script name the near-duplicate and the canonical helper. Three components with the same dangerouslySetInnerHTML want one shared function, and the graph finds the third one you missed.
  • project runs the verification. Name the scripts so the project tool finds them (perf, perf:report, perf:trace) and run checks through it, never as raw shell lines.
  • The browser tool is a second renderer. For a web target, browser gives snapshot, eval and responsive screenshots without leaving the session, and the report can be read at 390, 1440 and 3440 before anyone else sees it.
  • Dispatch the platform runs. background_dispatch sends one worker per operating system with its own bounds while you keep working; each returns its JSON and the report merges them. Two runs never share a machine, because a benchmark measures its neighbours.
  • Memory carries the floor. Save the harness's numbers and every trap you hit as a gotcha, so the next run starts from the real baseline instead of re-deriving it. Read memory before starting: a past session already learned which phase is noisy on this machine.
  • Routines keep it honest. A nightly /routine re-runs the harness against the current build and wakes you when a count crosses its floor, which is how a fix stays fixed.

Rules

  • Measure before you change anything, with the instrument you will use afterwards. A before taken with a different method is not a before.
  • Clean build on both sides. Purge the output directory; stale chunks have produced fake regressions more than once.
  • One variable at a time where the budget allows, so each gain is attributable.
  • Never present a red number as a win. Check every sentence of the report against the JSON it claims to describe before you ship it.
  • Do not touch files another agent is editing; in a shared checkout, report the conflict and let the owner fix their own code.
  • Keep secrets, hostnames, usernames and machine addresses out of the harness, the report and the skill. Take them from environment variables or arguments.
  • The artifacts are not publishable by default. A run's JSON carries absolute paths, a DOM census and phase names from a real session, and the screenshot next to it carries whatever was on screen. Write them to a directory your repository ignores (perf/ or similar, added to .gitignore), and read the HTML before sending it anywhere.

Verify

  • Both JSON files exist, were produced by the same harness version, and their platform and repeats fields match.
  • Boot-critical and reachable bundle sizes are equal on both sides unless a bundling change was intentional and kept.
  • The leak series for DOM nodes is flat; if it is not, the cycle does not close and the heap number means nothing.
  • The soak's process footprint comes back down after the purge, and the report says which process held what.
  • Idle draws no frames the user cannot see, and every change meant to keep the look passed look-equivalence.mjs in light and dark.
  • Every figure in the HTML is interpolated from the JSON, not typed.
  • Typecheck, lint and the project's own test suite pass, and the counts of failures and compiler bailouts are no worse than before the work started.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Enliven AI 技能有什么作用?

在不损失任何功能的前提下,让 Electron 或 Web 应用显著提速,并用数据证明。智能体会构建可重复使用的 A/B 测试框架,通过 Playwright 驱动真实生产构建,并通过 DevTools 协议读取 Chromium 自带的计数器;它不会靠猜测,而是借助 Blink 样式失效追踪、React 提交探针,以及帧、唤醒和 GPU 探针找出性能开销的原因;随后证明修复前后外观像素级一致,修正根本原因,按相同方式重新测量,并生成独立的 HTML 报告,让性能退化和提升都一目了然。用户要求分析性能、提速、缩小体积、查找内存泄漏、对桌面或 Web 应用进行优化前后基准测试,或生成性能报告时使用。

为什么在 TypingMind 中使用 Enliven?

因为您只需安装一次,就能搭配任何模型使用。Enliven 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Enliven?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/proxysoul/SoulStack/tree/main/skills/enliven。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Enliven?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Enliven 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Enliven 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Enliven AI 技能免费吗?

proxysoul 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇