In short.
Archify Tuning is a skill for Archify maintainers evaluating AI-created diagrams, but its automated measurements still require source checks and visual judgment. It provides a structured experiment process and scripts for preparing author tasks, collecting first drafts and diagnostic signals, comparing two runtime revisions and capturing rendered outputs. Its guidance distinguishes renderer regressions from changes to authoring instructions and complete delivery time. The supplied material contains no actual experiment results, so accuracy gains, time savings and runtime reliability remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
The complete selected folder is covered: SKILL.md; references/experiment-design.md, trace-export.md and trace-signals.md; and scripts/collect.mjs, lib.mjs, replay.mjs, round.mjs and shots.mjs. Related root notices covered are LICENSE, LICENSE-MIT, NOTICE and THIRD_PARTY_NOTICES.md. The main Archify runtime and authoring skill, CONTRIBUTING.md, runtime assets, source projects, real agent histories, benchmark corpora and generated artifacts are outside the supplied evidence. No code was executed and no end-to-end behavior, visual result or measured improvement was verified.
The overview
Identity
The resource is the archify-tuning skill in tt-a1i/archify, with its instructions, three reference documents and five JavaScript modules. Its metadata marks it as internal. Its purpose is to improve the complete journey from understanding a source system to delivering an accurate, readable diagram with fewer failed repairs.
The helpers recognize ten diagram types: architecture, workflow, sequence, dataflow, lifecycle, entity relationship, class, tree, timeline and waterfall. This is tooling and guidance for improving Archify authoring; it depends on the surrounding Archify runtime.
Assessment
Its strongest fit is investigating a specific diagram-authoring problem, such as repeated routing failures or a diagnostic that sends an agent toward an incorrect repair. The instructions require a bounded hypothesis, preserved first attempts, comparable inputs and examination of the complete diagram. Those provisions make the proposed comparisons easier to interpret.
The files establish a detailed evaluation approach, not demonstrated improvements. A renderer pass excludes browser acceptance, and screenshots still need inspection. No supplied results establish that this skill produces more accurate diagrams or faster delivery.
Users
The main audience is developers maintaining Archify's layout, routing, diagnostics or authoring instructions. It also suits researchers comparing agent authoring behavior when they can preserve source snapshots, drafts, tool results and final artifacts.
Beginners can use its questions about accuracy and readability, but operating the helpers assumes familiarity with Git checkouts, terminal commands, JSON and agent traces. Devin CLI history is supported directly; other agent hosts need a normalized trace export.
Capabilities
round.mjs prepares separate diagram task directories and prompts, recording source-project and Archify Git revisions and uncommitted changes. collect.mjs extracts the first draft, counts tool calls and finalize attempts, records diagnostic codes and flags removed elements, relationships, containers and membership changes.
replay.mjs renders saved first drafts with two Archify trees, records runtime identities and benchmark hashes, and identifies render regressions or changes to rendered SVG and styles. shots.mjs captures comparison images and builds a side-by-side HTML index with capture results. Its default capture is a 1440-pixel-wide light-theme viewport, with configurable height.
Using it
Requirements
The skill specifies Node.js 22.13 or later. Screenshot capture requires Chrome or Chromium; ARCHIFY_CHROME can override browser discovery. The scripts also require the surrounding Archify files, including its command-line runtime and visual-check module. Round preparation uses Git to identify the source and runtime revisions.
Trace collection needs either the expected local Devin CLI session database or an exported JSON trace using schemaVersion 1. Author comparisons require independently contextualized agent tasks. The main Archify skill, runtime implementation and referenced CONTRIBUTING.md are outside the supplied scope, so complete installation requirements and supported-platform compatibility are not established.
Mechanism
The process starts with one user-visible problem, a hypothesis and an attempt or time budget. Fixed JSON inputs are used to investigate renderer or rule changes. Independent authors are used for instruction and complete-authoring comparisons, with source revision, runtime, task and starting conditions held comparable. Source accuracy, readability and complete delivery time are judged separately.
The scripts turn authoring traces into reusable first-draft inputs and compare those inputs across runtimes. Benchmark preparation removes fields named sources and repository metadata, but other source-derived content can remain. Content-change signals and counts of manual route controls guide investigation; they do not establish factual correctness or automatic node placement.
Setup
The documented working location is the repository root. Tuning records live outside the repository under ARCHIFY_TUNING_HOME, defaulting to ~/.local/share/archify-tuning, with journal, benchmark, round and replay directories. This separation matters because drafts and traces may contain private source-project content.
For a new authoring experiment, round.mjs takes a source-project path, optional diagram types and a selected Archify runtime path. Its generated tasks keep the source project and runtime read-only. For another agent host, the trace exporter must normalize read, write and exec events, preserve their results and include the absolute round/type task path. First drafts created through patches or shell commands need explicit normalized write events containing the actual original JSON.
Example
An illustrative use is investigating a workflow return arrow that crosses a node. Preserve the original diagram and source facts, check node placement, and make one candidate routing change. With an existing workflow benchmark, a comparison command would be node .agents/skills/archify-tuning/scripts/replay.mjs --base /work/base/archify --head /work/candidate/archify --type workflow. The paths are illustrative.
Follow the render comparison with matched screenshots and inspection of the entire workflow, including branches, labels and return paths. A shorter arrow or a passing render would not by itself demonstrate a better diagram. This example was not executed and has no measured outcome.
Assessment & evidence
Limitations
No commands or scripts were executed. No actual experiment corpus, generated diagrams, screenshots or author traces were supplied. Compatibility, semantic accuracy, visual quality, failure recovery and performance are therefore not assessed. replay.mjs checks rendering without finalize's browser gate, and its SVG/style hashes do not assess complete page interactivity or visual usefulness.
The collector chooses a longest matching trace chain per diagram type and finds the final candidate by modification time. Its readable trace dumps truncate message and tool text, so they are not complete raw archives. Content-loss checks compare selected identities, relationships and memberships rather than comprehensively checking node text, conditions or source completeness.
The screenshot helper covers a desktop light-theme state by default. Dark themes, smaller screens, scrolling and other viewer states need additional evidence when relevant. A single pair of author runs supports a case observation, not a general speed or quality claim.
Reasoning
The skill's useful distinction is between a measurement and the outcome it is intended to support. Fewer bends, fewer deleted elements or a validator pass each answer a limited question. The instructions instead require checking relationships, directions, conditions, ownership and the complete visual reading path.
Its diagnostic guidance treats trace signals as hypotheses. Apparent routing faults should first be checked against placement constraints, and repeated failures may indicate an unsuitable acceptance rule. Historical fixes and rejected experiments provide investigation ideas, but the document explicitly requires rechecking them against the current revision. They are not verified performance results for this snapshot.
Alternatives
For a narrow renderer change, the documented fixed-input replay path can provide a smaller experiment than commissioning new diagrams. For instruction changes or complete delivery-time claims, independent author tasks address behavior that replaying existing JSON cannot establish.
For a one-off diagram, using the ordinary Archify authoring skill and CLI without maintaining a tuning corpus is a practical alternative inferred from the generated tasks. That main skill is referenced but not supplied, so its usability is not assessed here. No evidence supports a ranking against third-party diagram tools or evaluation frameworks.
Evidence
The original source location is [https://github.com/tt-a1i/archify/tree/main/.agents/skills/archify-tuning]. The supplied files are pinned to commit a7ed6fd6657da90414831d1d42cf95987188750c; the immutable directory location is [https://github.com/tt-a1i/archify/tree/a7ed6fd6657da90414831d1d42cf95987188750c/.agents/skills/archify-tuning].
The evidence consists of instructions, reference documents, helper source code and four related licence notices. It supports descriptions of documented requirements and implementation logic. It contains no raw results demonstrating successful diagram delivery, benchmark improvement or time savings. The supplied content checksum is 7085afb2453c65b4980dfe7a8635bb1f2e7b5b9ddfc5bcc0d3462de2533aafe0.
Access & freshness
Costs
No subscription price, model rate, per-experiment cost or measured resource consumption is supplied. The Apache licence grants copyright permissions without a licence charge, but that does not establish the total cost of using the skill.
Agent-provider charges, local rendering and browser resources, storage and human review time depend on the chosen environment and experiment. Complete elapsed time must be recorded separately; trace collection does not automatically supply it. Total operating cost and potential savings are unknown.
Rights
The root NOTICE identifies Apache License 2.0 as Archify's default licence, subject to explicit exceptions. Redistribution requires the applicable licence and notices, preservation of relevant attribution and change notices on modified files. LICENSE-MIT preserves historical MIT grants; it does not establish a blanket MIT alternative for every current tuning file.
The larger Archify runtime includes components and optional brand marks with separate terms. Its software licence does not grant general trademark permission or clear every mark for every use. NOTICE also states that the software licences do not determine ownership of users' authored content, business data or source repositories. Any redistribution that includes runtime assets needs their applicable notices and terms.
Freshness
The supplied snapshot was captured on 16 November 2026 at 01:44:11.045 UTC from commit a7ed6fd6657da90414831d1d42cf95987188750c. These findings apply to that source identity. No release number or publication date for the tuning skill is established.
Whether the main branch subsequently changed is unknown. The historical cases in trace-signals.md explicitly require checking the current revision before relying on their diagnoses or fixes.
Actions
Start by confirming a compatible Archify checkout and choosing one concrete diagram problem. Preserve the source revision, original candidate and failures, then use identical JSON across frozen runtimes for a renderer change. Inspect the complete diagram and relevant contrasting cases before adopting a local improvement.
For an authoring-instruction comparison, keep author contexts independent and record complete delivery timestamps, model settings when known and failed or unfinished outcomes. If using a host other than Devin CLI, verify that its normalized export contains the actual first draft and tool results. Keep source-derived drafts and traces in the external tuning directory.
