Agent skill

Drugsda Peptide Sampling

by InternScience in InternScience/scp

Generate new peptide molecules sampling from the input peptide sequence.

MITAuto-check passed

Install Drugsda Peptide Sampling

skills CLI
$ npx skills add InternScience/scp --skill drugsda-peptide-sampling -a claude-code

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

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

At a glance

Generate new peptide molecules sampling from the input peptide sequence.

  • Works in 2 steps: MCP Server Definition → Peptide Sampling
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Drugsda Peptide Sampling is an agent skill from InternScience/scp. Generate new peptide molecules sampling from the input peptide sequence.

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

  • “/drugsda-peptide-sampling”

Requirements

  • Python 3

Workflow steps

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

  1. MCP Server Definition
  2. Peptide Sampling

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 and tex).

    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

Drugsda Peptide Sampling loads about 890 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 20 words of instructions outside code blocks.

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

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). 20 words, ~890 tokens.

Download SKILL.mdSave it as .claude/skills/drugsda-peptide-sampling/SKILL.md (or your agent's skills folder).
name
drugsda-peptide-sampling
description
Generate new peptide molecules sampling from the input peptide sequence.
license
MIT license
metadata.skill-author
PJLab

Molecule Generation

Usage

1. MCP Server Definition
python
import json
from mcp.client.streamable_http import streamablehttp_client
from mcp import ClientSession

class DrugSDAClient:    
    def __init__(self, server_url: str):
        self.server_url = server_url
        self.session = None
        
    async def connect(self):
        print(f"server url: {self.server_url}")
        try:
            self.transport = streamablehttp_client(
                url=self.server_url,
                headers={"SCP-HUB-API-KEY": "sk-a0033dde-b3cd-413b-adbe-980bc78d6126"}
            )
            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()
            session_id = self.get_session_id()
            
            print(f"✓ connect success")
            return True
            
        except Exception as e:
            print(f"✗ connect failure: {e}")
            import traceback
            traceback.print_exc()
            return False
    
    async def disconnect(self):
        try:
            if self.session:
                await self.session_ctx.__aexit__(None, None, None)
            if hasattr(self, 'transport'):
                await self.transport.__aexit__(None, None, None)
            print("✓ already disconnect")
        except Exception as e:
            print(f"✗ disconnect error: {e}")
    
    def parse_result(self, result):
        try:
            if hasattr(result, 'content') and result.content:
                content = result.content[0]
                if hasattr(content, 'text'):
                    return json.loads(content.text)
            return str(result)
        except Exception as e:
            return {"error": f"parse error: {e}", "raw": str(result)}
2. Peptide Sampling

The description of tool pepinvent_peptide_sampling_by_peptide.

tex
Generate new peptide molecules sampling from the input peptide sequence.
Args:
    peptide (str): SMILES representation of a peptide sequence, with amino acid residues separated by '|?|', e.g., 'N[C@@H](CCCCN)C(=O)|?|N[C@@H](CC(C)C)C(=O)|?|N[C@@H](CCCNC(=N)N)C(=O)' 
    n (int): Number of molecules for sampling
    filter_preset (str): Filter preset, options: ['none', 'minimal', 'default', 'strict'], default is 'default'
    mw_min (float): Minimum molecular weight, default is 0.0
    mw_max (float): Maximum molecular weight, default is 0.0
Return:
    status (str): success/error
    msg (str): message
    save_smiles_file (str): Path to the saved SMILES file
    output_smiles_list (List[str]): List of generated SMILES strings

How to use tool pepinvent_peptide_sampling_by_peptide :

python
client = DrugSDAClient("https://scp.intern-ai.org.cn/api/v1/mcp/2/DrugSDA-Tool")
if not await client.connect():
    print("connection failed")
    return

response = await client.session.call_tool(
    "pepinvent_peptide_sampling_by_peptide",
    arguments={
        "peptide": smiles,
        "n": n,
        "filter_preset": filter_type,
        "mw_min": mw_min,
        "mw_max": mw_max
    }
)
result = client.parse_result(response)
output_smiles_list = result["output_smiles_list"]

await client.disconnect() 

© 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/drugsda-peptide-sampling 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

Drugsda Peptide Sampling 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.

Drugsda Peptide Sampling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Drugsda Peptide Sampling this skillInternScience/scp1691 repos~890Automated safety check: PassMIT
Search Inputthedaviddias/Front-End-Checklist74k—~402Automated safety check: PassMIT
Input Typesthedaviddias/Front-End-Checklist74k—~487Automated safety check: PassMIT
Paste Inputsthedaviddias/Front-End-Checklist74k—~443Automated safety check: PassMIT
Adk Sample Creatorgoogle/adk-python22k—~1.3kAutomated safety check: PassApache-2.0
Testing Course Samplesmicrosoft/ai-agents-for-beginners77k—~1.1kAutomated safety check: NotesMIT

Similar skills

  • Search Input

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Make search inputs accessible.

    74k GitHub stars~402 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Input Types

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing templates, rendered HTML, or shared components related to Use semantic input type attributes.

    74k GitHub stars~487 tokensUpdated 3 days ago
    Auto-check passed
  • Paste Inputs

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Allow pasting into form inputs.

    74k GitHub stars~443 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Adk Sample Creator

    google/adk-python

    Official

    Creates a new sample agent in the ADK Python repository — the sample directory, its agent.py, and its README.md — following the conventions the existing samples already use.

    22k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Testing Course Samples

    microsoft/ai-agents-for-beginners

    Official

    A skill your agent uses when asked to validate, test, smoke-test, or run the course's notebook and code samples against a live Microsoft Foundry / Azure OpenAI configuration.

    77k GitHub stars~1.1k tokensUpdated 20 days ago
    Testing & QAAuto-check: notes
  • Testing Course Samples

    microsoft/ai-agents-for-beginners

    Official

    Use wen dem ask you to validate, test, smoke-test, or run di course notebook and code samples against live Microsoft Foundry / Azure OpenAI configuration.

    77k GitHub stars~1.3k tokensUpdated 20 days ago
    Testing & QAAuto-check: notes

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
  • 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
  • Capacitance Calculation

    InternScience/scp

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

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

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

Questions about Drugsda Peptide Sampling

What does Drugsda Peptide Sampling do?

Generate new peptide molecules sampling from the input peptide sequence. Drugsda Peptide Sampling is an agent skill from InternScience/scp. Generate new peptide molecules sampling from the input peptide sequence.

How do I install Drugsda Peptide Sampling in Claude Code?

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

How do I install Drugsda Peptide Sampling in Codex?

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

Can I use Drugsda Peptide Sampling 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 drugsda-peptide-sampling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/drugsda-peptide-sampling, .gemini/skills/drugsda-peptide-sampling, .github/skills/drugsda-peptide-sampling and .opencode/skills/drugsda-peptide-sampling in your project.

What does Drugsda Peptide Sampling need to run?

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

Does Drugsda Peptide Sampling 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 Drugsda Peptide Sampling 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 Drugsda Peptide Sampling use?

Drugsda Peptide Sampling 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 Drugsda Peptide Sampling use?

About 890 tokens (SKILL.md is roughly 3.6k 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 Drugsda Peptide Sampling?

Skills that share tags, products or a category with Drugsda Peptide Sampling: Search Input (thedaviddias/Front-End-Checklist, 74k stars), Input Types (thedaviddias/Front-End-Checklist, 74k stars), Paste Inputs (thedaviddias/Front-End-Checklist, 74k stars) and Adk Sample Creator (google/adk-python, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Drugsda Peptide Sampling?

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.