init-workspace-patterns

init-workspace-patterns is a skill for Claude Code from griddynamics/rosetta. It costs 10 tokens per session (652 once invoked), scanned A, original, Apache-2.0.

A process for finding recurring code structures in a repository and turning them into reusable documented templates. It requires a CODEMAP.md file and checks that a pattern appears in at least two places.

In plain words
What is it for?
Use it to inspect a codebase, identify common implementation patterns, and record them in the repository's pattern documentation.
Why use it?
It makes unwritten coding conventions easier for agents and contributors to follow, reducing inconsistency and repeated reverse-engineering.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: model in frontmatter.

Good fit Use it to inspect a codebase, identify common implementation patterns, and record them in the repository's pattern documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/griddynamics/rosetta/init-workspace-patterns
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 griddynamics/rosetta --skill init-workspace-patterns
Clone the repo
git clone --depth 1 https://github.com/griddynamics/rosetta

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 init-workspace-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/griddynamics/rosetta/init-workspace-patterns/github.svg)](https://agentmods.dev/skills/griddynamics/rosetta/init-workspace-patterns)
Your own site
<a href="https://agentmods.dev/skills/griddynamics/rosetta/init-workspace-patterns"><img src="https://agentmods.dev/badge/skills/griddynamics/rosetta/init-workspace-patterns/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 init-workspace-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/griddynamics/rosetta/init-workspace-patterns"><img src="https://agentmods.dev/badge/skills/griddynamics/rosetta/init-workspace-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 652 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 7
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00010 $0.00652
Opus 5.5 $0.00004 $0.00261
Sonnet 5.5 $0.00002 $0.00130
Haiku 4.5 $0.00001 $0.00065

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

Security

Grade A, and why

init-workspace-patterns 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 3mo ago.

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.

instructions/r2/core/skills/init-workspace-patterns/SKILL.md · 62 lines

What it actually says

<init_workspace_patterns>

<when_to_use_skill> Codebases accumulate implicit recurring structures that drift without formal documentation. Extract them into explicit reusable templates so agents and contributors produce consistent code. Requires CODEMAP.md on disk. </when_to_use_skill>

<core_concepts>

  • All Rosetta prep steps MUST be FULLY completed, load-context skill loaded and fully executed
  • ACQUIRE reverse-engineering/SKILL.md FROM KB — apply "Would we rebuild this?" test: pattern = recurring structure surviving a from-scratch rewrite; one-off = historical accident
  • Pattern qualifies only if found in 2+ places
  • INDEX.md and CHANGES.md must be possible to grep by md headers (top 3 levels). Must not use tables. Instructions ask to grep files to populate list of those items in context.

</core_concepts>

  1. Read CODEMAP.md — scope extraction per module
    • if not enough use shell to list recursively all files with minimal output parameters
    • limit top 10-15 most common patterns
    • limit reading samples to 2-3 files per pattern
    • add 2-3 more patterns as you see fit
  2. Dual-mode:
    • CHECK-EXISTS: read docs/PATTERNS/ and INDEX.md
    • IDENTIFY-GAPS: compare existing patterns against codebase
    • CREATE-OR-UPDATE: install = create all; upgrade = add missing only
    • PRESERVE-HUMAN: never overwrite human-curated content
    • REPORT-CHANGES: log to CHANGES.md
  3. Per pattern file (docs/PATTERNS/*.md):
    • Name: short identifier (e.g., "REST Controller Endpoint")
    • Description: what it solves, when to use
    • Template/Example: generalizable code skeleton with extension-point comments
  4. Write docs/PATTERNS/INDEX.md — all patterns with one-line descriptions, one header per each pattern ## Pattern Name - short description
  5. Write docs/PATTERNS/CHANGES.md — created/updated/skipped, one header per each change ## [YYYY-MM-DD] Brief changes made
  6. If state.composite = true, extract per sub-repository; top-level INDEX.md references sub-repo folders

<validation_checklist>

  • Every pattern represents a genuinely recurring structure (2+ occurrences)
  • INDEX.md lists all pattern files
  • CHANGES.md tracks all actions taken
  • No human-curated content overwritten in upgrade mode </validation_checklist>

</init_workspace_patterns>

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. 3mo ago First seen · 62 lines · 10 tokens per session scan A ed8d27d83e94

Subscribe to this mod's changes

init-workspace-patterns is a skill published in the GitHub repository griddynamics/rosetta (382 stars, last pushed 5d ago), licensed Apache-2.0. It adds 10 tokens to every session and 652 once invoked, about $0.0000 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-08-30.

Related

init-workspace-patterns compared with skills from other repositories

init-workspace-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
init-workspace-patternsgriddynamics/rosettaSkill3825d agoApache-2.0A10Claude Code
memorix-memoryAVIDS2/memorixSkill9572d agoApache-2.0A30Claude Code
memorixAVIDS2/memorixSkill9572d agoApache-2.0A34Claude Code
memorix-mini-skillsAVIDS2/memorixSkill9572d agoApache-2.0A30Claude Code
memorix-orchestrateAVIDS2/memorixSkill9572d agoApache-2.0A37Claude Code
memorix-git-memoryAVIDS2/memorixSkill9572d agoApache-2.0A31Claude Code
memorix-reasoningAVIDS2/memorixSkill9572d agoApache-2.0A30Claude Code