Agent skill

Optical Frequency Calculation

by InternScience in InternScience/scp

Calculate optical frequency and wavelength relationships for photonics and electromagnetic analysis.

MITAuto-check passed

Install Optical Frequency Calculation

skills CLI
$ npx skills add InternScience/scp --skill optical-frequency-calculation -a claude-code

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

GitHub CLI
$ gh skill install InternScience/scp optical-frequency-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/optical-frequency-calculation .claude/skills/optical-frequency-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
optical-frequency-calculation
GitHub stars
169
Used in
1 other repo
Token cost
~499 tokens
SKILL.md length
13 words
Files
1
Skills in repo
73
Repo updated
First seen
Licence
MIT

At a glance

Calculate optical frequency and wavelength relationships for photonics and electromagnetic analysis.

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

What it does

Optical Frequency Calculation is an agent skill from InternScience/scp. Calculate optical frequency and wavelength relationships for photonics and electromagnetic analysis.

Its SKILL.md is about 500 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

  • “/optical-frequency-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

Optical Frequency Calculation loads about 499 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 13 words of instructions outside code blocks.

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

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). 13 words, ~499 tokens.

Download SKILL.mdSave it as .claude/skills/optical-frequency-calculation/SKILL.md (or your agent's skills folder).
name
optical-frequency-calculation
description
Calculate optical frequency and wavelength relationships for photonics and electromagnetic analysis.
license
MIT license
metadata.skill-author
PJLab

Optical Frequency Calculation

Usage

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

class OpticsClient:
    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 = OpticsClient("https://scp.intern-ai.org.cn/api/v1/mcp/23/Optics_and_Electromagnetics", "<your-api-key>")
await client.connect()

# Calculate frequency from wavelength
c = 3e8  # m/s (speed of light)
wavelength = 532e-9  # m (green laser)
frequency = c / wavelength
print(f"Frequency: {frequency/1e12:.2f} THz")

await client.disconnect()
Use Cases
  • Laser physics, optical communications, spectroscopy, photonics engineering

© 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/optical-frequency-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

Optical Frequency 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.

Optical Frequency Calculation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Optical Frequency Calculation this skillInternScience/scp1691 repos~499Automated safety check: PassMIT
Hunting For Beaconing With Frequency Analysismukul975/Anthropic-Cybersecurity-Skills34k—~2kAutomated safety check: PassApache-2.0
Carrier Relationship Managementsickn33/agentic-awesome-skills47k2 repos~5.9kAutomated safety check: PassMIT
Eol Resistor Calculatorsickn33/agentic-awesome-skills47k1 repos~3.5kAutomated safety check: PassMIT
Carrier Relationship Managementaffaan-m/ECC274k5 repos~5.9kAutomated safety check: PassApache-2.0
Carrier Relationship Managementaffaan-m/ECC274k2 repos~2.3kAutomated safety check: PassApache-2.0

Similar skills

  • Hunting For Beaconing With Frequency Analysis

    mukul975/Anthropic-Cybersecurity-Skills

    Identify command-and-control beaconing patterns in network traffic by applying statistical frequency analysis, jitter calculation, and coefficient of variation scoring to detect periodic callbacks…

    34k GitHub stars~2k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Carrier Relationship Management

    sickn33/agentic-awesome-skills

    Codified expertise for managing carrier portfolios, negotiating freight rates, tracking carrier performance, allocating freight, and maintaining strategic carrier relationships.

    47k GitHub starsUsed in 2 repos~5.9k tokens
    Sales & SupportAuto-check passed
  • Eol Resistor Calculator

    sickn33/agentic-awesome-skills

    Calculates and validates end-of-line (EOL, SEOL, DEOL, TEOL) resistor loops for intrusion alarm panels (Honeywell, DSC, Paradox, Bosch) with wire gauge drop and state tables.

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Supports freight managers in sourcing and vetting carriers, running RFPs, negotiating rates, building routing guides and scoring carrier performance.

    274k GitHub starsUsed in 5 repos~5.9k tokens
    Business, Finance & HRAuto-check passed
  • 用于管理承运商组合、协商运费、跟踪承运商绩效、分配货运以及维护战略承运商关系的编码专业知识。基于拥有15年以上经验的运输经理提供的信息。包括记分卡框架、RFP流程、市场情报和合规性审查。适用于管理承运商、协商费率、评估承运商绩效或制定货运策略时使用。

    274k GitHub starsUsed in 2 repos~2.3k tokens
    Sales & SupportAuto-check passed
  • キャリアポートフォリオの管理、運賃交渉、キャリアパフォーマンスの追跡、貨物割り当て、戦略的なキャリア関係の維持のための成文化された専門知識。15年以上の経験を持つ輸送マネージャーに情報。スコアカーディングフレームワーク、RFPプロセス、市場情報、コンプライアンス調査を含みます。キャリアの管理、料金交渉、キャリアパフォーマンスの評価、または運賃戦略の構築を行うときに使用します。

    274k GitHub stars~700 tokensUpdated 2 days ago
    Sales & SupportAuto-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.

    169 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Drugsda Esmfold

    InternScience/scp

    Use ESMFold model to predict 3D structure of the input protein sequence.

    169 GitHub starsUsed in 2 repos~721 tokens
    Auto-check passed
  • Drugsda Prosst

    InternScience/scp

    Given a protein sequence and its structure, employ ProSST model to predict mutation effects and obtain the top-k mutated sequences.

    169 GitHub starsUsed in 2 repos~949 tokens
    Auto-check passed
  • Calculate atmospheric parameters including Coriolis parameter, geostrophic wind, heat index, potential temperature, and dewpoint for meteorology and climate science.

    169 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.

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

    169 GitHub starsUsed in 1 repo~540 tokens
    Auto-check passed

Questions about Optical Frequency Calculation

What does Optical Frequency Calculation do?

Calculate optical frequency and wavelength relationships for photonics and electromagnetic analysis. Optical Frequency Calculation is an agent skill from InternScience/scp. Calculate optical frequency and wavelength relationships for photonics and electromagnetic analysis.

How do I install Optical Frequency Calculation in Claude Code?

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

How do I install Optical Frequency Calculation in Codex?

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

Can I use Optical Frequency 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 optical-frequency-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/optical-frequency-calculation, .gemini/skills/optical-frequency-calculation, .github/skills/optical-frequency-calculation and .opencode/skills/optical-frequency-calculation in your project.

What does Optical Frequency Calculation need to run?

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

Does Optical Frequency 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 Optical Frequency 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 Optical Frequency Calculation use?

Optical Frequency 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 Optical Frequency Calculation use?

About 499 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 Optical Frequency Calculation?

Skills that share tags, products or a category with Optical Frequency Calculation: Hunting For Beaconing With Frequency Analysis (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Carrier Relationship Management (sickn33/agentic-awesome-skills, 47k stars), Eol Resistor Calculator (sickn33/agentic-awesome-skills, 47k stars) and Carrier Relationship Management (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Optical Frequency Calculation?

InternScience (a GitHub organization) maintains it in InternScience/scp, which has 169 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.