Agent skill

Chemical Mass Percent Calculation

by InternScience in InternScience/scp

Calculate mass percentages and stoichiometric ratios for chemical reactions and compound compositions.

MITAuto-check passed

Install Chemical Mass Percent Calculation

skills CLI
$ npx skills add InternScience/scp --skill chemical-mass-percent-calculation -a claude-code

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

GitHub CLI
$ gh skill install InternScience/scp chemical-mass-percent-calculation --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/InternScience/scp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chemical-mass-percent-calculation .claude/skills/chemical-mass-percent-calculation && 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
chemical-mass-percent-calculation
GitHub stars
170
Used in
1 other repo
Token cost
~521 tokens
SKILL.md length
15 words
Files
1
Skills in repo
73
Repo updated
First seen
Licence
MIT

At a glance

Calculate mass percentages and stoichiometric ratios for chemical reactions and compound compositions.

  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Chemical Mass Percent Calculation is an agent skill from InternScience/scp. Calculate mass percentages and stoichiometric ratios for chemical reactions and compound compositions.

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

The licence is MIT.

Example prompts

  • “/chemical-mass-percent-calculation”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit cea5398. 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 python).

    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

Chemical Mass Percent Calculation loads about 521 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 15 words of instructions outside code blocks.

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

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 InternScience/scp at commit cea5398, republished under its MIT licence (© InternScience). 15 words, ~521 tokens.

Download SKILL.mdSave it as .claude/skills/chemical-mass-percent-calculation/SKILL.md (or your agent's skills folder).
name
chemical-mass-percent-calculation
description
Calculate mass percentages and stoichiometric ratios for chemical reactions and compound compositions.
license
MIT license
metadata.skill-author
PJLab

Chemical Mass Percent Calculation

Usage

python
import asyncio
import json
from mcp.client.streamable_http import streamablehttp_client
from mcp import ClientSession

class ChemistryClient:
    def __init__(self, server_url: str, api_key: str):
        self.server_url = server_url
        self.api_key = api_key
        self.session = None

    async def connect(self):
        try:
            self.transport = streamablehttp_client(url=self.server_url, headers={"SCP-HUB-API-KEY": self.api_key})
            self.read, self.write, self.get_session_id = await self.transport.__aenter__()
            self.session_ctx = ClientSession(self.read, self.write)
            self.session = await self.session_ctx.__aenter__()
            await self.session.initialize()
            return True
        except:
            return False

    async def disconnect(self):
        if self.session:
            await self.session_ctx.__aexit__(None, None, None)
        if hasattr(self, 'transport'):
            await self.transport.__aexit__(None, None, None)

    def parse_result(self, result):
        try:
            if hasattr(result, 'content') and result.content:
                return json.loads(result.content[0].text)
            return str(result)
        except:
            return {"error": "parse error"}

## Initialize and use
client = ChemistryClient("https://scp.intern-ai.org.cn/api/v1/mcp/24/Chemistry_and_Reaction_Calculations", "<your-api-key>")
await client.connect()

# Calculate mass percent of oxygen in H2O
mass_H = 2 * 1.008  # 2 hydrogen atoms
mass_O = 1 * 16.00  # 1 oxygen atom
total_mass = mass_H + mass_O
percent_O = (mass_O / total_mass) * 100
print(f"Mass percent of O in H2O: {percent_O:.2f}%")

await client.disconnect()
Use Cases
  • Stoichiometry, analytical chemistry, quality control, reaction yield calculations

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

Files

Just SKILL.md in skills/chemical-mass-percent-calculation of InternScience/scp.

Open the folder on GitHubat commit cea5398

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in InternScience/scp, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Chemical Mass Percent Calculation 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.

Chemical Mass Percent Calculation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chemical Mass Percent Calculation this skillInternScience/scp1701 repos~521Automated safety check: PassMIT
Tooluniverse Chemical Compound Retrievalwu-yc/LabClaw1.1k2 repos~2.3kAutomated safety check: PassNone
Chemical Compound Retrievallamm-mit/scienceclaw246—~2.4kAutomated safety check: PassApache-2.0
Compute Mamba Ratiosgl-project/sglang37k2 repos~2.9kAutomated safety check: PassApache-2.0
Mass-ULW Workflow Runscode-yeongyu/oh-my-openagent70k—~2.5kAutomated safety check: PassCustom licence
Compound Learning WriterEveryInc/compound-engineering-plugin25k—~2kAutomated safety check: PassMIT

Similar skills

  • Retrieves chemical compound information from PubChem and ChEMBL with disambiguation, cross-referencing, and quality assessment.

    1.1k GitHub starsUsed in 2 repos~2.3k tokens
    Research & ScienceAuto-check passed
  • Chemical Compound Retrieval

    lamm-mit/scienceclaw

    ToolUniverse workflow — Chemical Compound Retrieval. An agent skill from lamm-mit/scienceclaw.

    246 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Compute Mamba Ratio

    sgl-project/sglang

    Compute the optimal --mamba-full-memory-ratio (or --max-mamba-cache-size pin) for a hybrid attention + linear-attention (Mamba / GDN / KDA) model's two serving memory pools, from the workload and…

    37k GitHub starsUsed in 2 repos~2.9k tokens
    Auto-check passed
  • Mass-ULW Workflow Runs

    code-yeongyu/oh-my-openagent

    Drives dependency-ordered multi-agent work through the workflow tool, one run per phase, with planning rules and retry, amend and send recovery.

    70k GitHub stars~2.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Compound Learning Writer

    EveryInc/compound-engineering-plugin

    Records one solved and verified problem as a durable learning in the repository, but only when the reasoning is not already clear from the final code, tests or docs.

    25k GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Testing API For Mass Assignment Vulnerability

    mukul975/Anthropic-Cybersecurity-Skills

    Tests APIs for mass assignment (auto-binding), OWASP API3:2023, by identifying writable endpoints, adding undocumented fields to request bodies (role, isAdmin, price, balance), and checking whether…

    34k GitHub stars~4k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from InternScience/scp

All 73 skills in this repo
  • Given an rsID, query multiple databases (dbSNP, FAVOR, GWAS Catalog, ClinVar, gnomAD, PharmGKB, ClinGen) for comprehensive annotation.

    170 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Calculate atmospheric parameters including Coriolis parameter, geostrophic wind, heat index, potential temperature, and dewpoint for meteorology and climate science.

    170 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Biomedical Web Search

    InternScience/scp

    Search biomedical literature and web content using Tavily search engine for research and clinical information.

    170 GitHub starsUsed in 1 repo~598 tokens
    Auto-check passed
  • Calculate buoyancy forces and acceleration for fluid mechanics and hydrodynamics analysis.

    170 GitHub starsUsed in 1 repo~540 tokens
    Auto-check passed
  • Capacitance Calculation

    InternScience/scp

    Calculate electrical capacitance from geometric parameters and dielectric properties for circuit design.

    170 GitHub starsUsed in 1 repo~537 tokens
    Auto-check passed
  • Chembl Molecule Search

    InternScience/scp

    Search ChEMBL database for molecule information by name to retrieve bioactivity data and chemical structures.

    170 GitHub starsUsed in 1 repo~757 tokens
    Auto-check passed

Questions about Chemical Mass Percent Calculation

What does Chemical Mass Percent Calculation do?

Calculate mass percentages and stoichiometric ratios for chemical reactions and compound compositions. Chemical Mass Percent Calculation is an agent skill from InternScience/scp. Calculate mass percentages and stoichiometric ratios for chemical reactions and compound compositions.

How do I install Chemical Mass Percent Calculation in Claude Code?

Run `npx skills add InternScience/scp --skill chemical-mass-percent-calculation -a claude-code`. Or copy the skill folder (skills/chemical-mass-percent-calculation in InternScience/scp) into .claude/skills/chemical-mass-percent-calculation in your project. Claude Code loads it when a task matches its description.

How do I install Chemical Mass Percent Calculation in Codex?

Run `npx skills add InternScience/scp --skill chemical-mass-percent-calculation -a codex`. Or copy the skill folder (skills/chemical-mass-percent-calculation in InternScience/scp) into .agents/skills/chemical-mass-percent-calculation in your project. Codex loads it when a task matches its description.

Can I use Chemical Mass Percent Calculation 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 InternScience/scp --skill chemical-mass-percent-calculation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chemical-mass-percent-calculation, .gemini/skills/chemical-mass-percent-calculation, .github/skills/chemical-mass-percent-calculation and .opencode/skills/chemical-mass-percent-calculation in your project.

What does Chemical Mass Percent Calculation need to run?

SKILL.md names no scripts, command-line tools or credentials: Chemical Mass Percent Calculation is instructions for the agent only. Our summary lists: Python 3.

Does Chemical Mass Percent Calculation 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 Chemical Mass Percent Calculation 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 Chemical Mass Percent Calculation use?

Chemical Mass Percent Calculation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chemical Mass Percent Calculation use?

About 521 tokens (SKILL.md is roughly 2.1k 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 Chemical Mass Percent Calculation?

Skills that share tags, products or a category with Chemical Mass Percent Calculation: Tooluniverse Chemical Compound Retrieval (wu-yc/LabClaw, 1.1k stars), Chemical Compound Retrieval (lamm-mit/scienceclaw, 246 stars), Compute Mamba Ratio (sgl-project/sglang, 37k stars) and Mass-ULW Workflow Runs (code-yeongyu/oh-my-openagent, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chemical Mass Percent Calculation?

InternScience (a GitHub organization) maintains it in InternScience/scp, which has 170 GitHub stars. The repository holds 73 skills in this directory. The repository was last updated on June 3, 2026.

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