generate-profile

generate-profile is a skill for Claude Code from AndreVianna/aid-methodology. It costs 63 tokens per session (3,251 once invoked), scanned C, original, MIT.

A maintainer tool that rebuilds installation folders for several coding-agent tools from one shared source and their configuration profiles. It checks the source, generates the files, and verifies the result.

In plain words
What is it for?
Use it to regenerate and verify install trees after changing a skill, agent, or template.
Why use it?
It removes the need to update each tool's installation copy by hand. It also helps keep generated copies aligned with the canonical source.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to regenerate and verify install trees after changing a skill, agent, or template.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrevianna/aid-methodology/generate-profile
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 AndreVianna/aid-methodology --skill generate-profile
Clone the repo
git clone --depth 1 https://github.com/AndreVianna/aid-methodology

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 generate-profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrevianna/aid-methodology/generate-profile/github.svg)](https://agentmods.dev/skills/andrevianna/aid-methodology/generate-profile)
Your own site
<a href="https://agentmods.dev/skills/andrevianna/aid-methodology/generate-profile"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/generate-profile/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 generate-profile

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrevianna/aid-methodology/generate-profile"><img src="https://agentmods.dev/badge/skills/andrevianna/aid-methodology/generate-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,251 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00063 $0.03251
Opus 5.5 $0.00025 $0.01300
Sonnet 5.5 $0.00013 $0.00650
Haiku 4.5 $0.00006 $0.00325

Measured 26d ago against content hash e9b84f3acf38, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

generate-profile scanned grade C with 1 finding 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 26d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/aid_profile.py, scripts/build-shortcut-skills.py, scripts/render_lib.py, …), 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .agents/skills/aid-* .aid/runtime
.claude/skills/generate-profile/SKILL.md · 303 lines

How it starts

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

AID Install-Tree Generator

Maintainer-only skill — outside canonical/. This is the lone exception to the canonical-source pattern. It lives at .claude/skills/generate-profile/ only and is NOT in canonical/skills/. Edits to this skill are made directly to its files. Reason: it generates the profile trees, so it cannot itself be generated from canonical without a chicken-and-egg deployment problem.

This skill regenerates the per-tool profile trees (profiles/claude-code/, profiles/codex/, profiles/cursor/, profiles/copilot-cli/, profiles/antigravity/) from the canonical agents (canonical/agents/) and the per-tool profile TOMLs (profiles/*.toml). Skills and the runtime are never rendered: release.sh copies them byte-for-byte from canonical/ into the shared payload.

When to run: any time canonical content is edited (agents and templates are rendered; skills and the runtime reach this repo's install through the dogfood resync that the run ends with), and before committing those changes. Also run after any manual edit to a profile tree to check it against canonical. The run overwrites manual edits.

Safety boundary: the generator deletes each profiles/<tool>/ directory in full and renders it again. It touches nothing else in the render step, and no manifest is written or read. Never hand-edit a profile tree: the next run overwrites it, and the CI render-drift job fails when a profile tree differs from a fresh render.


Pre-flight Checks

Before executing any state, verify:

  1. Python 3.11+ is available:

    python --version
    

    Required for tomllib (stdlib from 3.11). Abort with clear error if unavailable.

  2. canonical/ directory exists at the repo root:

    ls canonical/agents/ canonical/skills/ canonical/aid/templates/
    
  3. At least one profile TOML exists:

    ls profiles/
    
  4. The repo is a git working tree (for the REPORT git diff --stat):

    git rev-parse --git-dir
    

Read the full file on GitHub · 303 lines

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. 26d ago Changed · +30 lines · +3 tokens per session scan A → C e9b84f3acf38
  2. 2mo ago First seen · 273 lines · 60 tokens per session scan A 8cf9e78cd840

Subscribe to this mod's changes

generate-profile is a skill published in the GitHub repository AndreVianna/aid-methodology (6 stars, last pushed 11d ago), licensed MIT. It adds 63 tokens to every session and 3,251 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

generate-profile compared with skills from other repositories

generate-profile next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-profileAndreVianna/aid-methodologySkill611d agoMITC63Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code