Agent skill

Grad Diamond

by asgard-ai-platform in asgard-ai-platform/skills

Apply Porter's Diamond Model to analyze national competitive advantage for a specific industry.

MITAuto-check passed

Install Grad Diamond

skills CLI
$ npx skills add asgard-ai-platform/skills --skill grad-diamond -a claude-code

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

GitHub CLI
$ gh skill install asgard-ai-platform/skills grad-diamond --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/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/grad-diamond .claude/skills/grad-diamond && 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
grad-diamond
GitHub stars
242
Token cost
~1.5k tokens
SKILL.md length
512 words
Files
4 (incl. references)
Skills in repo
207
Repo updated
First seen
Licence
MIT

At a glance

Apply Porter's Diamond Model to analyze national competitive advantage for a specific industry.

  • Works in 4 steps: Define the Industry Scope → Analyze the Four Determinants → Assess Government and Chance → …
  • The user needs to evaluate why certain nations dominate particular industries
  • SKILL.md covers Overview, When to Use, Assumptions and Methodology, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Grad Diamond is an agent skill from asgard-ai-platform/skills. Apply Porter's Diamond Model to analyze national competitive advantage for a specific industry. Use this skill when the user needs to evaluate why certain nations dominate particular industries, assess a country's attractiveness for industry investment, or diagnose gaps in national competitiveness using the four determinants plus government and chance.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `examples/sample_scenario.md`, `references/diamond-factor-taxonomy.md` and `references/double-diamond-extensions.md`).

The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.

When your agent uses it

  • The user needs to evaluate why certain nations dominate particular industries
  • Assess a countrys attractiveness for industry investment
  • Diagnose gaps in national competitiveness using the four determinants plus government and chance

Example prompts

  • “/grad-diamond”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Define the Industry Scope
  2. Analyze the Four Determinants
  3. Assess Government and Chance
  4. Evaluate Diamond System Strength

What it can do on your machine

Read from SKILL.md and the folder at commit 4e7f4f8. 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 (its code samples are markdown).

    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

Grad Diamond loads about 1.5k tokens when it runs, and up to ~8.1k if it reads all its reference files. Until then it costs about 92 tokens; SKILL.md has 512 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.1k

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

The full file from asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 512 words, ~1,488 tokens.

Download SKILL.mdSave it as .claude/skills/grad-diamond/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
grad-diamond
description
Apply Porter's Diamond Model to analyze national competitive advantage for a specific industry. Use this skill when the user needs to evaluate why certain nations dominate particular industries, assess a country's attractiveness for industry investment, or diagnose gaps in national competitiveness using the four determinants plus government and chance.
metadata.category
WP-24 創新與國際化
metadata.tags
porter-diamond, national-competitive-advantage, factor-conditions, demand-conditions, related-industries, firm-strategy

Diamond Model (Porter, 1990): National Competitive Advantage

Overview

Porter's Diamond Model explains why certain nations become home bases for globally competitive industries. Four interconnected determinants — factor conditions, demand conditions, related and supporting industries, and firm strategy/structure/rivalry — form a self-reinforcing system. Government and chance act as external variables that influence the diamond but are not determinants themselves. Crucially, national advantage is industry-specific, not economy-wide.

When to Use

Trigger conditions:

  • User asks why a country dominates a specific industry (e.g., Swiss watches, Korean semiconductors)
  • User needs to evaluate a country as a base for a specific industry
  • User is comparing national environments for investment or relocation decisions
  • User mentions "national competitiveness", "diamond model", "Porter's diamond", or "country advantage"

When NOT to use:

  • For firm-level competitive strategy -> use Porter's Five Forces
  • For firm-level FDI decisions -> use grad-oli
  • For gradual market entry -> use grad-uppsala

Assumptions

IRON LAW: National Competitive Advantage Is INDUSTRY-SPECIFIC,
          NOT Country-Wide

A country does not have "competitive advantage" in general.
Germany has advantage in automotive and chemicals, NOT in software.
The US has advantage in tech and finance, NOT in consumer electronics
manufacturing.

NEVER assess a country's competitiveness without specifying the
industry. A "strong diamond" for one industry may be a weak diamond
for another in the SAME country.
  • Competitive advantage is created, not inherited — advanced factors matter more than basic factors
  • Domestic rivalry is a key driver of international competitiveness
  • The four determinants reinforce each other as a system — isolated strengths are insufficient
  • Government's role is to influence the determinants, not to pick winners

Methodology

Step 1: Define the Industry Scope

Specify the industry narrowly. "Manufacturing" is too broad; "precision instruments" or "semiconductor fabrication" is appropriate. The diamond analysis must be industry-specific.

Step 2: Analyze the Four Determinants

1. Factor Conditions: Basic factors (natural resources, unskilled labor) are inherited and easily replicated. Advanced factors (research institutions, skilled engineers, VC ecosystems) are created and drive sustainable advantage.

2. Demand Conditions: Size enables scale; sophistication pressures innovation; anticipatory demand (foreshadowing global trends) gives domestic firms a head start.

3. Related and Supporting Industries: Internationally competitive suppliers, geographic clustering, knowledge spillovers, and rapid innovation cycles.

4. Firm Strategy, Structure, and Rivalry: National culture shapes management practices; intense domestic rivalry drives innovation; capital market structures affect time horizons.

Show full SKILL.md (205 more words)Show less
Step 3: Assess Government and Chance
  • Government: Policies that strengthen determinants (education investment, R&D subsidies, competition policy, infrastructure). Government should catalyze, not control.
  • Chance: Exogenous events (wars, oil shocks, technological discontinuities, pandemics) that reshape the diamond.
Step 4: Evaluate Diamond System Strength

Rate each determinant and assess systemic reinforcement:

  • Do strong demand conditions pull advanced factor creation?
  • Does domestic rivalry drive innovation that demanding customers then validate?
  • Do related industries create clusters that attract specialized talent?

A strong diamond has reinforcing loops. A weak diamond has isolated strengths that do not compound.

Output Format

markdown
# Diamond Analysis: {Industry} in {Country}

## Determinant Ratings
| Determinant | Key Evidence | Rating |
|-------------|-------------|--------|
| Factor Conditions (basic/advanced) | {assessment} | Strong/Moderate/Weak |
| Demand Conditions | {assessment} | Strong/Moderate/Weak |
| Related & Supporting Industries | {assessment} | Strong/Moderate/Weak |
| Firm Strategy, Structure & Rivalry | {assessment} | Strong/Moderate/Weak |

## External Variables
- Government: {policies} | Chance: {events}

## System Assessment
- Reinforcing loops: {which determinants strengthen each other}
- Weak links: {gaps} | Overall: Strong/Moderate/Weak for {industry}
- Recommendations: {how to strengthen weak determinants}

Gotchas

  • Country GDP is not industry competitiveness: A wealthy country can have a weak diamond for a specific industry. Always analyze at industry level.
  • Basic factors are a trap: Reliance on cheap labor or raw materials leads to the "resource curse." Advanced factors drive sustainable advantage.
  • Domestic rivalry is counterintuitive: Protecting firms from competition weakens the diamond. Rivalry is painful but essential.
  • The diamond is dynamic: A once-strong diamond (Detroit for autos) can erode. Reassess longitudinally.
  • Multi-country diamonds exist: In small open economies the diamond may span borders. Do not force single-country framing.

References

  • For Porter's original diamond factor taxonomy, see references/diamond-factor-taxonomy.md
  • For double diamond model (Rugman) and extensions, see references/double-diamond-extensions.md

© asgard-ai-platform, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in grad-diamond of asgard-ai-platform/skills.

  • SKILL.md
  • examples/sample_scenario.md
  • references/diamond-factor-taxonomy.md
  • references/double-diamond-extensions.md

Open the folder on GitHubat commit 4e7f4f8

Compare with similar skills

Grad Diamond 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.

Grad Diamond compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Grad Diamond this skillasgard-ai-platform/skills242—~1.5kAutomated safety check: PassMIT
Competitive Landscapewshobson/agents40k—~3kAutomated safety check: PassMIT
Competitive Platform Analysisaffaan-m/ECC277k1 repos~3kAutomated safety check: PassMIT
Competitive Report Structureaffaan-m/ECC277k1 repos~2.1kAutomated safety check: PassMIT
Porters Five Forcesphuryn/pm-skills27k—~2kAutomated safety check: PassMIT
Competitive Teardownalirezarezvani/claude-skills28k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Competitive Landscape

    wshobson/agents

    Analyze competition, identify differentiation opportunities, and develop winning market positioning strategies using Porter's Five Forces, Blue Ocean Strategy, and positioning maps.

    40k GitHub stars~3k tokensUpdated 6 days ago
    Marketing & SEOAuto-check passed
  • A skill your agent uses when scoping a competitive landscape — identifying, categorising, and score-filtering a competitor set before any benchmarking begins.

    277k GitHub starsUsed in 1 repo~3k tokens
    Auto-check passed
  • Assemble scored competitor profile cards (from benchmark-methodology) into a decision-grade competitive report with landscape map, competitor tiers, benchmarking matrix, white-space analysis…

    277k GitHub starsUsed in 1 repo~2.1k tokens
    Marketing & SEOAuto-check passed
  • Porters Five Forces

    phuryn/pm-skills

    Perform Porter's Five Forces analysis — competitive rivalry, supplier power, buyer power, threat of substitutes, and threat of new entrants.

    27k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Competitive Teardown

    alirezarezvani/claude-skills

    Analyzes competitor products and companies by synthesizing data from pricing pages, app store reviews, job postings, SEO signals, and social media into structured competitive intelligence.

    28k GitHub starsUsed in 1 repo~2.1k tokens
    Marketing & SEOAuto-check passed
  • Competitive Battlecard

    phuryn/pm-skills

    Create sales-ready competitive battlecards comparing your product against a specific competitor — positioning, feature comparison, objection handling, and win/loss patterns.

    27k GitHub stars~721 tokensUpdated yesterday
    Sales & SupportAuto-check passed

More from asgard-ai-platform/skills

All 207 skills in this repo
  • Algo Ecom Bm25

    asgard-ai-platform/skills

    Implement BM25 ranking function for e-commerce product search relevance scoring.

    242 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Mfg Cpk

    asgard-ai-platform/skills

    Calculate Cpk process capability index to assess whether a process meets specification requirements.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Price Elasticity

    asgard-ai-platform/skills

    Calculate price elasticity of demand to quantify how price changes affect sales volume.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Bayesian

    asgard-ai-platform/skills

    Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Elo

    asgard-ai-platform/skills

    Implement Elo rating system to rank items or players from pairwise comparison outcomes.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Wilson

    asgard-ai-platform/skills

    Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Questions about Grad Diamond

What does Grad Diamond do?

Apply Porter's Diamond Model to analyze national competitive advantage for a specific industry. Grad Diamond is an agent skill from asgard-ai-platform/skills. Apply Porter's Diamond Model to analyze national competitive advantage for a specific industry.

When should I use Grad Diamond?

Grad Diamond fits situations like: the user needs to evaluate why certain nations dominate particular industries; assess a countrys attractiveness for industry investment; diagnose gaps in national competitiveness using the four determinants plus government and chance.

How do I install Grad Diamond in Claude Code?

Run `npx skills add asgard-ai-platform/skills --skill grad-diamond -a claude-code`. Or copy the skill folder (grad-diamond in asgard-ai-platform/skills) into .claude/skills/grad-diamond in your project. Claude Code loads it when a task matches its description.

How do I install Grad Diamond in Codex?

Run `npx skills add asgard-ai-platform/skills --skill grad-diamond -a codex`. Or copy the skill folder (grad-diamond in asgard-ai-platform/skills) into .agents/skills/grad-diamond in your project. Codex loads it when a task matches its description.

Can I use Grad Diamond 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 asgard-ai-platform/skills --skill grad-diamond -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/grad-diamond, .gemini/skills/grad-diamond, .github/skills/grad-diamond and .opencode/skills/grad-diamond in your project.

What does Grad Diamond need to run?

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

Does Grad Diamond 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 Grad Diamond 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 Grad Diamond use?

Grad Diamond is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Grad Diamond use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.6k tokens, read only when the agent opens those files.

What are the alternatives to Grad Diamond?

Skills that share tags, products or a category with Grad Diamond: Competitive Landscape (wshobson/agents, 40k stars), Competitive Platform Analysis (affaan-m/ECC, 277k stars), Competitive Report Structure (affaan-m/ECC, 277k stars) and Porters Five Forces (phuryn/pm-skills, 27k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Grad Diamond?

asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 242 GitHub stars. The repository holds 207 skills in this directory. The repository was last updated on June 6, 2026.

Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.