Agent skill

New Resource Workflow

by GoogleCloudPlatform in GoogleCloudPlatform/magic-modules

Workflow specifically for creating a new resource, supporting both autogen and manual generation.

Custom licenceAuto-check passedAI & LLM Engineering

Install New Resource Workflow

skills CLI
$ npx skills add GoogleCloudPlatform/magic-modules --skill new-resource-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GoogleCloudPlatform/magic-modules new-resource-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/workflows/new_resource .claude/skills/new-resource-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-resource-workflow
GitHub stars
974
Token cost
~512 tokens
SKILL.md length
265 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
Custom licence

At a glance

Workflow specifically for creating a new resource, supporting both autogen and manual generation.

  • Works in 2 steps: Autogen Subagent (Default): Use this… → Manual Generation: Create the YAML…
  • Tasks that involve Building AI agents
  • SKILL.md covers Generation Options and Execution Steps
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Resource Workflow is an agent skill from GoogleCloudPlatform/magic-modules. Workflow specifically for creating a new resource, supporting both autogen and manual generation.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Building AI agents and OpenAPI specifications. The repository describes itself as: Add Google Cloud Platform support to Terraform.

When your agent uses it

  • Tasks that involve Building AI agents
  • Tasks that involve OpenAPI specifications

Example prompts

  • “/new-resource-workflow”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Autogen Subagent (Default): Use this method if an OpenAPI specification is available for the resource.
  2. Manual Generation: Create the YAML definition directly if no spec is available or if it requires custom crafting.

What it can do on your machine

Read from SKILL.md and the folder at commit e5db069. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Resource Workflow loads about 512 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 265 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~512

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 265 words (~512 tokens).

“This document guides the agent through the task of creating a new Terraform resource in Magic Modules.”

— opening of SKILL.md by GoogleCloudPlatform, Custom licence
name
new-resource-workflow

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/workflows/new_resource of GoogleCloudPlatform/magic-modules.

Open the folder on GitHubat commit e5db069

Compare with similar skills

New Resource Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Resource Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Resource Workflow this skillGoogleCloudPlatform/magic-modules974—~512Automated safety check: PassCustom licence
Create Agent Skilloocx/tfplan2md174—~1.5kAutomated safety check: PassMIT
Apex Agent Authoringjonathan-vella/apex217—~1.8kAutomated safety check: PassMIT
Hcp Create Agentopenshift-eng/ai-helpers120—~3.7kAutomated safety check: PassApache-2.0
Autogpt AgentsOrchestra-Research/AI-Research-SKILLs13k3 repos~2.3kAutomated safety check: NotesMIT
Agent BuildershareAI-lab/learn-claude-code78k6 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Create Agent Skill

    oocx/tfplan2md

    Create a new Agent Skill following project standards and templates.

    174 GitHub stars~1.5k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Apex Agent Authoring

    jonathan-vella/apex

    WORKFLOW SKILL — Creates, restructures, and audits GitHub Copilot .agent.md and .prompt.md files with correct frontmatter, handoffs, model policy, context budgets, and validation.

    217 GitHub stars~1.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Hcp Create Agent

    openshift-eng/ai-helpers

    A skill your agent uses when you need to deploy HyperShift clusters on bare metal, edge environments, or disconnected infrastructures using pre-provisioned agents

    120 GitHub stars~3.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Autogpt Agents

    Orchestra-Research/AI-Research-SKILLs

    Autonomous AI agent platform for building and deploying continuous agents.

    13k GitHub starsUsed in 3 repos~2.3k tokens
    AI & LLM EngineeringAuto-check: notes
  • Agent Builder

    shareAI-lab/learn-claude-code

    Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.

    78k GitHub starsUsed in 6 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-check passed

More from GoogleCloudPlatform/magic-modules

All 30 skills in this repo
  • Run Pre Gen Checks

    GoogleCloudPlatform/magic-modules

    Run fast static checks that don't require generating downstreams, including git submodule verification, gofmt formatting, YAML linting, template validation (version-guard and unused-tmpl), mmv1 core…

    974 GitHub stars~492 tokensUpdated today
    Auto-check passed
  • Validate Provider Changes

    GoogleCloudPlatform/magic-modules

    Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation.

    974 GitHub stars~528 tokensUpdated today
    Auto-check passed
  • Add List Resource Workflow

    GoogleCloudPlatform/magic-modules

    Opt resource into MMv1 list-resource generation by setting generatelistresource: true and validate it locally with generated tests.

    974 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Fetch Nightly Results

    GoogleCloudPlatform/magic-modules

    Skill to fetch latest nightly test results and metadata for Beta or GA providers from GCS test-metadata.

    974 GitHub stars~615 tokensUpdated today
    Auto-check passed
  • Automate Test Triage

    GoogleCloudPlatform/magic-modules

    Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.

    974 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Dev Overrides

    GoogleCloudPlatform/magic-modules

    Configures Terraform CLI with developer overrides to test locally built provider binaries without full Go acceptance tests, enabling rapid plan/apply cycles.

    974 GitHub stars~432 tokensUpdated today
    Auto-check passed

Questions about New Resource Workflow

What does New Resource Workflow do?

Workflow specifically for creating a new resource, supporting both autogen and manual generation. New Resource Workflow is an agent skill from GoogleCloudPlatform/magic-modules. Workflow specifically for creating a new resource, supporting both autogen and manual generation.

When should I use New Resource Workflow?

New Resource Workflow fits situations like: tasks that involve Building AI agents; tasks that involve OpenAPI specifications.

How do I install New Resource Workflow in Claude Code?

Run `npx skills add GoogleCloudPlatform/magic-modules --skill new-resource-workflow -a claude-code`. Or copy the skill folder (.agents/skills/workflows/new_resource in GoogleCloudPlatform/magic-modules) into .claude/skills/new-resource-workflow in your project. Claude Code loads it when a task matches its description.

How do I install New Resource Workflow in Codex?

Run `npx skills add GoogleCloudPlatform/magic-modules --skill new-resource-workflow -a codex`. Or copy the skill folder (.agents/skills/workflows/new_resource in GoogleCloudPlatform/magic-modules) into .agents/skills/new-resource-workflow in your project. Codex loads it when a task matches its description.

Can I use New Resource Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GoogleCloudPlatform/magic-modules --skill new-resource-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-resource-workflow, .gemini/skills/new-resource-workflow, .github/skills/new-resource-workflow and .opencode/skills/new-resource-workflow in your project.

What does New Resource Workflow need to run?

SKILL.md names no scripts, command-line tools or credentials: New Resource Workflow is instructions for the agent only.

Does New Resource Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Resource Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Resource Workflow use?

New Resource Workflow has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does New Resource Workflow use?

About 512 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Resource Workflow?

Skills that share tags, products or a category with New Resource Workflow: Create Agent Skill (oocx/tfplan2md, 174 stars), Apex Agent Authoring (jonathan-vella/apex, 217 stars), Hcp Create Agent (openshift-eng/ai-helpers, 120 stars) and Autogpt Agents (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Resource Workflow?

GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/magic-modules, which has 974 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 7, 2026.

Source: GoogleCloudPlatform/magic-modules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.