agentleFS
elicitlyelicitly/demos/skills/which-account/SKILL.md

which-account

Skill1 starsChanged 36 days agoMIT-0View on GitHub

Elicitly demo (sample data, logs nothing). When a name matches several sample CRM accounts, ask a human to pick the right one on a review page. Use only when the user asks to log call notes for Harbor in the demo or to run the which-account demo.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read assets/matches.json. It is a complete elicit_selection input.

    line 19
  2. Very specific:

    Call elicit_selection with that object as-is.

    line 20
  3. Very specific:

    Call elicit_await with the elicitationId.

    line 23
  4. Very specific:

    If the status is submitted or declined, call elicit_result:

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Which account?

Demo. Uses made-up sample data from assets/, connects to no real system, and changes nothing. It's a reference for how to use Elicitly: adapt it to your own data and systems.

"Log this against Harbor" matches three accounts. Rather than guess, the agent lists the candidates with enough detail to tell them apart and lets a human choose. The choice is a real radio button on the review page, and only a valid account id can come back.

Steps

  1. Read assets/matches.json. It is a complete elicit_selection input.
  2. Call elicit_selection with that object as-is.
  3. Give the user the reviewUrl as a link, and say the choice is waiting there.
  4. Call elicit_await with the elicitationId. While it returns pending, call it again. Stop when the status is anything else.
  5. If the status is submitted or declined, call elicit_result:
    • decision: "submitted": look up the chosen id in selectedIds among the options and name the account. This demo logs nothing; say "In a real skill, the call notes would be logged to this account here."
    • decision: "declined": none of the accounts was right. Ask the user for another detail (city, contact name) to narrow the search. For expired or canceled, say no choice was made and offer to ask again.

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.