role-builder

role-builder is a skill for Claude Code from Prismer-AI/PrismerCloud. It costs 100 tokens per session (2,075 once invoked), scanned A, original, MIT.

A role-template tool that turns a persona, standard procedure, job description, or operating brief into a working software agent. It can also start that agent's first task through a bundled command.

In plain words
What is it for?
Use it to create or update role templates, turn existing roles into agents, and run an initial task for those agents.
Why use it?
It removes the need to manually configure an agent from a written role description and launch its first job. It checks the setup and waits for the agent and task result.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md; mentions Codex; built for openclaw.

Good fit Use it to create or update role templates, turn existing roles into agents, and run an initial task for those agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prismer-ai/prismercloud/role-builder
About the project

Prismer Cloud is an infrastructure layer for AI agents that provides shared learning, compressed context, persistent memory, collaboration, messaging, tasks, identity, and workspaces. It is for agents and the people building or using long-running agent systems that need information and outcomes to persist across sessions. The catalogue entries provide skills, hooks, agents, instructions, and a plugin for using Prismer Cloud.

Prismer-AI/PrismerCloud · 1,366 stars · on GitHub · prismer.cloud

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Prismer-AI/PrismerCloud --skill role-builder
Clone the repo
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for role-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/prismer-ai/prismercloud/role-builder/github.svg)](https://agentmods.dev/skills/prismer-ai/prismercloud/role-builder)
Your own site
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/role-builder"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/role-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for role-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/role-builder"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/role-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.02075
Opus 5.5 $0.00040 $0.00830
Sonnet 5.5 $0.00020 $0.00415
Haiku 4.5 $0.00010 $0.00208

Measured 2mo ago against content hash 71f80948a72d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

role-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/author-role.mjs, scripts/ingest-role.mjs, scripts/instantiate-and-run.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

sdk/cloud/catalog/skills/role-builder/SKILL.md · 210 lines

How it starts

The opening of the file, as written. The whole thing — 210 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role Builder

Choose exactly one path from the requested outcome. Do not inspect cloud --help, create probe assets, or compose low-level commands first.

A. Existing role → new working agent → first task

Run the bundled harness directly:

node scripts/instantiate-and-run.mjs --json

Required environment:

  • PRISMER_API_KEY
  • PRISMER_CLOUD_BASE
  • PRISMER_ROLE_SLUG
  • PRISMER_WORKSPACE_ID
  • PRISMER_TASK

Optional environment:

  • PRISMER_AGENT_HANDLE, PRISMER_AGENT_DISPLAY_NAME, PRISMER_AGENT_ADAPTER, PRISMER_TARGET_DAEMON_ID
  • PRISMER_REQUEST_ID, PRISMER_OPERATION_LEDGER
  • PRISMER_WORKFLOW_TIMEOUT_MS, PRISMER_WORKFLOW_POLL_MS
  • PRISMER_ALLOW_REMOTE_WRITE=1 for an explicitly confirmed non-local target

The runtime must inject these variables before the turn. Never ask the user to paste a credential into chat and never pass one as a command-line flag.

The harness validates locally, performs server preflight, creates/resumes the role-backed agent, waits for its exact daemon binding, creates one idempotent task, and waits for the canonical result. --no-wait skips only the final task result wait. --preflight-only performs no mutation.

If it returns ROLE_CONFIG_REQUIRED, report the missing level, target, and key names exactly. Do not guess values:

  • level=skill or level=role, user-owned key: the owner supplies it through Studio or POST /api/im/user-skill-config; values are sealed and never enter the model prompt.
  • role default: edit the role's parameters[] declaration/default.
  • global-only Skill key: inject it into the daemon/deployment environment.
  • workspace/runtime issue: repair the named workspace or daemon; do not create a different workspace as a workaround.

B. Material → role template

Create a directory with exactly the role definition and persona:

<role-slug>/
├── role.json
└── SOUL.md

role.json is the SS-02 governance manifest. SOUL.md is persona only; do not put credentials, per-run instructions, or an AGENTS.md in the role bundle.

Read the full file on GitHub · 210 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 210 lines · 100 tokens per session scan A 71f80948a72d

Subscribe to this mod's changes

role-builder is a skill published in the GitHub repository Prismer-AI/PrismerCloud (1,366 stars, last pushed 1mo ago), licensed MIT. It adds 100 tokens to every session and 2,075 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

role-builder compared with skills from other repositories

role-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
role-builderPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA100Claude Code
coding-agents-hooks-authoringgriddynamics/rosettaSkill3825d agoApache-2.0A31Claude Code
memory-intakenhadaututtheky/neural-memorySkill246yesterdayMITA44Claude Code
.claude-pluginnhadaututtheky/neural-memorySkill246yesterdayMITA0Claude Code
recallgrpcer/ownmemSkill4291mo agoApache-2.0A66Claude Code
initgrpcer/ownmemSkill4291mo agoApache-2.0A43Claude Code
performing-container-image-hardeningadriannoes/awesome-agentic-aiSkill1082d agoMITB46Claude Code, Codex