# Reusable Graffalo workflows

These are portable Markdown skills for a connected Graffalo account. They do not
install a catalog connector. Native client checks and workflow evaluation are listed below.

- [Diagram from source](skills/graffalo-diagram-from-source/SKILL.md): evidence,
  uncertainty, rich fields, groups and source-backed connections.
- [Review and improve](skills/graffalo-review/SKILL.md): inspect actual PNGs, preserve
  meaning/IDs, make revision-checked changes and verify the result.

## Grok Build

Keep each skill in its named folder with the filename `SKILL.md`. Grok Build's
[documented skill locations](https://docs.x.ai/build/features/skills-plugins-marketplaces)
include `~/.agents/skills/`; put the two folders there, then check `/skills`.
Configure MCP separately using the [agent guide](README.md). Do not overwrite
existing skill folders or put credentials inside a skill. This delivery does not
install files into your user configuration or activate a routine.

## Grok Bot

Grok Bot's [private skill library](https://docs.x.ai/grok-bot/skills-routines-and-automations)
is distinct from local Grok Build folders. After a safe one-time task, give the Bot
one of the Markdown workflows and ask it to save that process as a private skill.
Check Connect apps → Your plugins → Manage plugins and skills, then reference it
with `/`. Connecting the app/authorizing the account is a separate step. Availability
of custom MCP, OAuth client metadata and secure headers must be verified in the
actual account; these files cannot create a catalog entry.

For example, after connecting Graffalo:

> Use the Graffalo review workflow on document ID [your ID]. Inspect its rendered
> preview and report improvements. Do not edit yet. Preserve all fields and wires.

Use a disposable diagram for the first write test. The current Grok Bot connector
catalog is described in [Connect apps](https://docs.x.ai/grok-bot/computer-and-apps).
No message has been sent to a Bot and no private skill has been installed by adding
these repository files.

## Other agents

Use the same Markdown workflow through the client's supported skills/instructions
facility. The tool names are Graffalo's names; use the server prefix your client
actually exposes. Each editing tool carries its complete input schema; `get_schema`
describes document files. Free accounts can create and edit five custom diagrams
plus unchanged demos, with unlimited branded exports and one clean export per
rolling 24 hours. Imports and built-in chat require trial/Pro. Scopes and current
document permissions apply to every action.

## What is verified

Grok Build 1.0.67 completed an initial native HTTP handshake against dev using the nested
TOML headers and `$GRAFFALO_AGENT_TOKEN`; it discovered all 10 tools. The test used
a disposable Free scoped credential and an isolated trusted fixture folder. That
handshake did not invoke a model and its credential was removed afterward.
Subsequent native model runs are recorded in [client verification](client-verification.md).

The API operations, schemas, revision checks and renderer have automated and hosted
smoke coverage. The workflow files have syntax/structure validation. That does not
establish model behavior or complete a client pilot.

The [native comparison](native-comparison.md) now records all five diagram cases
and five edits each in both Graffalo and draw.io: 60 checkpoint artifacts and images,
with actual model transcripts and retained failures. The two clients had different
image feedback, and independent human quality/repair scoring remains pending.
These runs did not install or evaluate these skills, verify Grok Bot, or establish
an overall product winner. Scripted API regressions remain separate evidence.

## Plugin workflows

The [plugin setup guide](plugins.md) adds account onboarding, repository architecture,
database schema and sequence-diagram workflows alongside the existing source and
review skills. It distinguishes checked package formats from native client acceptance.
