agentleFS
iblaiiblai/base/skills/agents/iblai-api-agent-disclaimer/SKILL.md

iblai-api-agent-disclaimer

Skill222 starsChanged 12 days agoMITView on GitHub

Manage an ibl.ai agent's disclaimers via the platform API — the Advisory text (saved through the agent settings endpoint), the User Agreement (create/update/activate), and the record of who accepted it. Use when adding legal or advisory notices users must see or accept, or auditing acceptances.

  • Reads credentials
  • Sends data out

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.

    line 22
  2. Distinctive:

    Create and activate a User Agreement for an agent:

    line 75

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

iblai-api-agent-disclaimer

Manage an agent's disclaimers via the API: the Advisory text (a single field on the agent's settings/), the User Agreement (its own create / update / activate lifecycle), and the agreements users record when they accept it. Use when adding legal or advisory notices users must see or accept. The UI twin is /iblai-vibe-agent-disclaimer.

Auth & conventions

  • Base URL: https://api.iblai.app
  • Header: Authorization: Api-Token $IBLAI_API_KEY on every request.
  • Path vars: {org} = $IBLAI_ORG, {username} = $IBLAI_USERNAME, {mentor} = the agent's unique id (e.g. d17dc729-60fd-4363-81a0-f67d9318b03e).
  • Not connected yet? Run /iblai-api-login first to populate IBLAI_ORG, IBLAI_USERNAME, and IBLAI_API_KEY.

Reads

  • GET https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/mentors/{mentor}/settings/ — Advisory text lives in the disclaimer field.
  • GET https://api.iblai.app/dm/api/ai-mentor/orgs/{org}/users/{username}/disclaimers/?mentor_id={mentor}&scope=mentor — User Agreement list (read results[0] for the agent's agreement). Rows carry id, content, title, active, scope, mentors[], has_agreed (whether the caller accepted it), created_at, updated_at. Other filters: active, search, ordering, page, page_size.
  • GET …/users/{username}/disclaimer-agreements/?disclaimer={id}&mentor_id={mentor} — who accepted the agreement: id, disclaimer, agreed_at, user_id, user_email, user_full_name. Filter one user with username; paginate with page / page_size. Admins see every user; others see only their own.

Writes

  • PUT …/users/{username}/mentors/{mentor}/settings/ — save Advisory text:
    {
      "disclaimer": "string"
    }
  • POST …/users/{username}/disclaimers/ — create a User Agreement:
    {
      "content": "string (required)",
      "mentors": ["uuid"],
      "scope": "mentor",
      "active": "boolean"
    }
  • PATCH …/users/{username}/disclaimers/{id}/ — update content or toggle activation:
    {
      "content": "string"
    }
    or
    {
      "active": "boolean"
    }
  • POST …/users/{username}/disclaimers/{id}/add-mentor/ / …/remove-mentor/ — attach or detach one more agent (body {"mentor_id": "uuid"}, admins only). Removing the last agent fails with 400. Once an agreement has two agents, its GET, PUT and PATCH return 400 "Disclaimer has multiple mentors, which is not supported." until you remove one, and a create with two mentors is refused: keep one agent per agreement.
  • POST …/users/{username}/disclaimer-agreements/ — accept an agreement as the caller ({"disclaimer": id}). DELETE …/disclaimer-agreements/{id}/ withdraws one (admins may delete any user's).

There is no DELETE for a User Agreement: switch it off with active: false.

Example

Create and activate a User Agreement for an agent:

curl -X POST \
  "https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/users/$IBLAI_USERNAME/disclaimers/" \
  -H "Authorization: Api-Token $IBLAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "By continuing, you agree to use this assistant for educational purposes only.",
    "mentors": ["'"$MENTOR"'"],
    "scope": "mentor",
    "active": true
  }'

Notes

  • The Advisory is one field (disclaimer) on the agent settings/ — send only that key in the PUT; other settings are left unchanged.
  • The User Agreement is a separate object users must accept; activate exactly one per agent via active: true, and deactivate others with a PATCH active: false.
  • The disclaimers list endpoint is filtered with mentor_id + scope=mentor; the current agreement is the first item in results.
  • A POST without active creates the agreement already active.
  • Verified against the live schema (4.411.0) and a live create on 2026-10-02.

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.