agentleFS
RyanMerlinRyanMerlin/ayx-agent-kit/skills/ayx-cli-agent/SKILL.md

ayx-cli-agent

Skill0 starsChanged 3 months agoApache-2.0View on GitHub

Use the AYX CLI as an agent for Alteryx One tasks; discover commands first, parse structured results safely, and execute explicitly authorized CRUD with canary cleanup.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill whenever an agent needs to inspect or operate AYX CLI or Alteryx One resources.

    line 8
  2. Distinctive:

    Start unfamiliar work by discovering the live command tree.

    line 13
  3. Very specific:

    Every ayx invocation must select a structured output mode.

    line 20
  4. Very specific:

    Use --output json-full for discovery because compact json intentionally omits the large command tree.

    line 36
  5. Distinctive:

    Read the standard envelope carefully:

    line 39
  6. Distinctive:

    never print or retain access tokens, passwords, cookies, or secret bodies.

    line 45
  7. Very specific:

    Before any write, run the exact command without --apply and inspect its dry-run envelope.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AYX CLI Agent

Use this skill whenever an agent needs to inspect or operate AYX CLI or Alteryx One resources.

Discovery-first operation

Start unfamiliar work by discovering the live command tree. Put structured output last in every command:

ayx discover one --deep --output json-full

Every ayx invocation must select a structured output mode. Use --output json for ordinary agent-readable results and --output json-full when discovering commands or inspecting the raw API response, endpoint, status code, request ID, or fields that the normalizer may omit. Do not rely on human-readable or table output for operational conclusions.

Walk the returned data.tree; do not guess command names, flags, positional arguments, IDs, payload schemas, or endpoint paths. Use command help only after discovery identifies the command.

For ordinary agent-readable command results, use this shape:

ayx one <family> <command> ... --output json

Use --output json-full for discovery because compact json intentionally omits the large command tree.

Read the standard envelope carefully:

  • object payloads are commonly in data.response;
  • normalized paginated results are commonly in data.items;
  • inspect data.page_envelopes[].status_code before treating a list as live-success;
  • preserve error_code, status_code, surface, operation, and request IDs in findings;
  • never print or retain access tokens, passwords, cookies, or secret bodies.

Mutations

Before any write, run the exact command without --apply and inspect its dry-run envelope. Apply only when the user has authorized that specific mutation. For canary work, use a unique run name, capture the returned resource ID, verify the created and updated resource, and delete by ID in cleanup. Never use a name-based bulk delete.

Classify outcomes as validated_live, validated_shape, blocked_by_scope, or blocked_by_fixture. A successful CLI envelope is not enough if the underlying page status is non-2xx or the response does not prove the requested operation.

For the complete live CRUD procedure, read references/live-crud-protocol.md. For the copy/paste agent handoff, use docs/agent-guide.md.

Reporting issues

Log each reproducible issue in docs/ayx-cli-testing-issues.md with the command, discovered path, endpoint, status code, expected behavior, observed behavior, classification, and proposed fix. Distinguish CLI defects from upstream API behavior, permission boundaries, and missing fixtures.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.