agentleFS
AI-ModConAI-ModCon/genesis-skills/skills/amsc-skills/i2-api/SKILL.md

i2-api

Skill30 starsChanged 50 days agoBSD-2-ClauseView on GitHub

DEPRECATED. The legacy AmSC i2-api (api.i2-core.american-science-cloud.org) is retired in favor of the Model Access Gateway (MAG). Use this skill only to migrate an existing i2-api setup; for all LLM work use the amsc-mag skill. Trigger on i2 API, i2-core, AMSC_I2_API_KEY, or API Key Manager.

  • Reads credentials

The file

Files
SKILL.md

i2-api (deprecated)

The legacy i2-api is deprecated. Do not use it for new work, and do not generate code that targets it. Existing i2-api users must migrate to the AmSC Model Access Gateway (MAG). Use the amsc-mag skill for everything LLM-related.

Old to new

Legacy i2-apiMAG
Hostapi.i2-core.american-science-cloud.orghttps://mag.genesis.americansciencecloud.org
LoginAmSC Google loginPing Identity (AmSC IdP)
CredentialAPI key from "API Key Manager"Personal Access Token (PAT)
Env varAMSC_I2_API_KEYAMSC_TOKEN
Where to createi2-api web UIhttps://my.amsc.energy.gov/dashboard -> project -> Personal Access Tokens -> Generate PAT
Requirementany keyapproved project with a MAG allocation

Migration steps:

  1. Generate a PAT (short-lived; a 401 means generate a new one) and export AMSC_TOKEN.
  2. Replace the base URL with https://mag.genesis.americansciencecloud.org/v1.
  3. Replace AMSC_I2_API_KEY with AMSC_TOKEN in code and shell config.
  4. Re-check model names against GET /v1/models; the MAG uses <base>[:<mod>]...[@<provider>] model strings.
  5. For Claude Code, replace the old exported environment with the scoped claude-amsc function in amsc-mag/references/claude-amsc.sh.

See the amsc-mag skill for details.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.