terraform-provider-ory: Skill for Claude Code

.claude/skills/import-existing-project/SKILL.md

import-existing-project is a skill for Claude Code from ory/terraform-provider-ory. It costs 101 tokens per session (5,424 once invoked), scanned A, original, Apache-2.0.

A skill for bringing an existing Ory Network project under Terraform management. Terraform is a tool that describes infrastructure in files and compares them with live resources.

In plain words
What is it for?
Use it to inventory an Ory project, generate Terraform configuration, import resources, and check that the configuration matches the live project.
Why use it?
It helps avoid rebuilding a live project by discovering its resources, importing them with the correct identifiers, and refining the files until Terraform expects no changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ory/terraform-provider-ory's own configuration. It tells Claude Code how to work on terraform-provider-ory itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything terraform-provider-ory configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ory/terraform-provider-ory. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ory/terraform-provider-ory/main/.claude/skills/import-existing-project/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ory/terraform-provider-ory

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 import-existing-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/ory/terraform-provider-ory/import-existing-project/github.svg)](https://agentmods.dev/skills/ory/terraform-provider-ory/import-existing-project)
Your own site
<a href="https://agentmods.dev/skills/ory/terraform-provider-ory/import-existing-project"><img src="https://agentmods.dev/badge/skills/ory/terraform-provider-ory/import-existing-project/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 import-existing-project

Your own site · 80×15
<a href="https://agentmods.dev/skills/ory/terraform-provider-ory/import-existing-project"><img src="https://agentmods.dev/badge/skills/ory/terraform-provider-ory/import-existing-project.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00101 $0.05424
Opus 5 $0.00051 $0.02712
Sonnet 5 $0.00020 $0.01085
Haiku 4.5 $0.00010 $0.00542

Measured 3d ago against content hash 5bacd337468e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

import-existing-project scanned grade A 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate-imports.sh), 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `curl` and `jq` (used by the inventory script).
.claude/skills/import-existing-project/SKILL.md · 377 lines

How it starts

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

Import an existing Ory Network project into Terraform

Onboard a live Ory Network project into Terraform so that terraform plan reports no changes. Terraform's built-in import blocks and terraform plan -generate-config-out do the mechanical part; this skill fills in the Ory-specific knowledge: where each resource is discovered, how each import ID is built, which attributes to prune from generated config, and which secrets can never be read back.

Safety first: every step below is read-only against Ory until the final terraform apply, and that apply only records imports (0 to add, 0 to change, 0 to destroy). Never run terraform destroy in the working directory — the imported resources are real. To undo a mistaken import, use terraform state rm <address>; it removes the resource from state without touching the live project.

Prerequisites

  • Terraform >= 1.5 (import blocks and -generate-config-out).

  • curl and jq (used by the inventory script).

  • A workspace API key (ory_wak_..., create under Workspace Settings > API keys) and, to cover OAuth2 clients / JWKS / trusted issuers, a project API key (ory_pat_...).

  • The project UUID. List a workspace's projects with the workspace API key:

    curl -sH "Authorization: Bearer $ORY_WORKSPACE_API_KEY" \
      "${ORY_CONSOLE_API_URL:-https://api.console.ory.sh}/workspaces/$ORY_WORKSPACE_ID/projects" \
      | jq -r '.projects[] | "\(.id)  \(.slug)  \(.name)"'
    

    Use this workspace-scoped endpoint, not GET /projects (that path needs a browser session token and returns 403 for an API key). The ory list projects CLI also works, but only against Ory's production console with an interactive ory auth session — it ignores ORY_CONSOLE_API_URL, so it cannot reach other environments, and it rejects --workspace when ORY_WORKSPACE_API_KEY is set. The curl call above is environment-agnostic.

Export the credentials as environment variables; the provider and the inventory script both read them:

Read the full file on GitHub · 377 lines

Files

What ships with it

1 file 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. 3d ago Changed · +2 lines 5bacd337468e
  2. 7d ago Changed · +11 lines bf1a21a821df
  3. 11d ago First seen · 364 lines · 101 tokens per session scan A 7cdeb8e99f0f

Subscribe to this mod's changes

import-existing-project is a skill published in the GitHub repository ory/terraform-provider-ory (21 stars, last pushed yesterday), licensed Apache-2.0. It adds 101 tokens to every session and 5,424 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

auditing-terraform-infrastructure-for-security

Auditing Terraform infrastructure-as-code for security misconfigurations using Checkov, tfsec, Terrascan, and OPA/Rego policies to detect overly permissive IAM policies, public resource exposure, missing encryption, and insecure defaults before cloud deployment.

xalgorix/xalgorix · 59 tokens

terraform-expert

Expert-level Terraform infrastructure as code, modules, state management, and production best practices. Use when the user mentions infrastructure as code, devops, or automation, or when the task involves Terraform Basics, Resource Management, Modules, or State Management.

personamanagmentlayer/pcl · 53 tokens

terraform-docs

Terraform 1.15.x — configuration language, resources, variables, modules, state, backends, providers, functions.

pledgeandgrow/pledge-skills · 29 tokens

auditing-terraform-infrastructure-for-security

Auditing Terraform infrastructure-as-code for security misconfigurations using Checkov, tfsec, Terrascan, and OPA/Rego policies to detect overly permissive IAM policies, public resource exposure, missing encryption, and insecure defaults before cloud deployment.

26zl/cybersec-toolkit · 59 tokens

infrastructure-as-code-guardian

Universal Infrastructure as Code (IaC) agent skill for authoring, securing, and managing cloud infrastructure across Terraform, Pulumi, CloudFormation, Ansible, and Bicep. Provides cross-tool security hardening, state management best practices, cost optimization, drift detection, and CI/CD integration. Covers AWS…

JPeetz/agent-skills · 254 tokens

terraform-infrastructure-as-code

Comprehensive Terraform Infrastructure as Code skill covering resources, modules, state management, workspaces, providers, and advanced patterns for cloud-agnostic infrastructure deployment.

manutej/luxor-claude-marketplace · 36 tokens