Agent skill

Socket Bridge

by Cai-aa in Cai-aa/CAE-Agent-Hub

Connect to Abaqus CAE via socket bridge for curing simulation.

MITAuto-check passed

Install Socket Bridge

skills CLI
$ npx skills add Cai-aa/CAE-Agent-Hub --skill socket-bridge -a claude-code

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

GitHub CLI
$ gh skill install Cai-aa/CAE-Agent-Hub socket-bridge --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/Cai-aa/CAE-Agent-Hub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skill/abaqus/composite-curing-simulation/execution/socket-bridge .claude/skills/socket-bridge && 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
socket-bridge
GitHub stars
998
Token cost
~745 tokens
SKILL.md length
333 words
Files
1
Skills in repo
57
Repo updated
First seen
Licence
MIT

At a glance

Connect to Abaqus CAE via socket bridge for curing simulation.

  • Works in 7 steps: Check connection: Use… → Set working directory: Use set_workdir… → Create jobs: Use run_python to create… → …
  • Needs to use socket bridge
  • SKILL.md covers Description and Content
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Socket Bridge is an agent skill from Cai-aa/CAE-Agent-Hub. Connect to Abaqus CAE via socket bridge for curing simulation. Invoke when user needs to use socket bridge, connect to Abaqus, or execute Python in Abaqus kernel.

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

It works with Python. The licence is MIT.

When your agent uses it

  • Needs to use socket bridge
  • Connect to Abaqus
  • Execute Python in Abaqus kernel

Example prompts

  • “/socket-bridge”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Check connection: Use check_abaqus_connection to verify bridge is active
  2. Set working directory: Use set_workdir to configure the work directory
  3. Create jobs: Use run_python to create jobs from input files
  4. Submit jobs: Use submit_job or run_python with submit()
  5. Monitor: Use monitor_job_status to check for errors or convergence issues
  6. Copy ODB: Copy the ODB file from scratch to work directory
  7. Extract data: Use inspect_odb or run_python to read results

What it can do on your machine

Read from SKILL.md and the folder at commit 194ef49. 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

Socket Bridge loads about 745 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 333 words of instructions outside code blocks.

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

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 Cai-aa/CAE-Agent-Hub at commit 194ef49, republished under its MIT licence (© Cai-aa). 333 words, ~745 tokens.

Download SKILL.mdSave it as .claude/skills/socket-bridge/SKILL.md (or your agent's skills folder).
name
socket-bridge
description
Connect to Abaqus CAE via socket bridge for curing simulation. Invoke when user needs to use socket bridge, connect to Abaqus, or execute Python in Abaqus kernel.

Socket Bridge Connection

Description

Connect to Abaqus CAE via socket bridge for curing simulation. Invoke when user needs to use socket bridge, connect to Abaqus, or execute Python in Abaqus kernel.

Content

Socket Bridge Overview

The socket bridge provides a TCP connection to Abaqus CAE at 127.0.0.1:48152, allowing remote execution of Python code in the Abaqus kernel.

Prerequisites
  • Abaqus CAE must be open and running
  • The socket bridge plugin must be active in Abaqus
Connection Check

Use the check_abaqus_connection MCP tool to verify the bridge status before executing any commands.

Available MCP Tools
ToolDescription
check_abaqus_connectionVerify bridge connection status
run_pythonExecute Python code in Abaqus kernel
submit_jobSubmit a job and wait for completion
monitor_job_statusCheck .sta/.msg file diagnostics
inspect_odbRead ODB results and field outputs
set_workdirSet the working directory
list_jobsList existing jobs in the session
run_python Usage

When using run_python, set the result variable to return data back to the caller:

python
# Example: get list of steps
result = []
for step_name in odb.steps.keys():
    result.append(step_name)
Abaqus Python Environment Quirks

The Abaqus Python environment has several important quirks to be aware of:

Python Version
  • Abaqus 2020+ uses Python 2.7 based environment
  • Do not use Python 3 specific syntax
Unicode Issues
  • print() statements with unicode may cause errors
  • Use result = ... to return data instead of printing
Imports
  • Must import constants: from abaqusConstants import *
  • This provides access to all Abaqus constants (OFF, ON, RUNNING, etc.)
String Formatting
  • Use the % operator for string formatting
  • Do NOT use .format() or f-strings (not supported in Python 2.7)
python
# Correct
text = '%d nodes found' % node_count

# Incorrect (will fail)
text = '{} nodes found'.format(node_count)
text = f'{node_count} nodes found'
Dictionary Keys
  • Plain strings work reliably as dictionary keys
  • Unicode keys may fail in some operations
Standard Workflow
  1. Check connection: Use check_abaqus_connection to verify bridge is active
  2. Set working directory: Use set_workdir to configure the work directory
  3. Create jobs: Use run_python to create jobs from input files
  4. Submit jobs: Use submit_job or run_python with submit()
  5. Monitor: Use monitor_job_status to check for errors or convergence issues
  6. Copy ODB: Copy the ODB file from scratch to work directory
  7. Extract data: Use inspect_odb or run_python to read results

© Cai-aa, 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 Skill/abaqus/composite-curing-simulation/execution/socket-bridge of Cai-aa/CAE-Agent-Hub.

Open the folder on GitHubat commit 194ef49

Compare with similar skills

Socket Bridge 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.

Socket Bridge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Socket Bridge this skillCai-aa/CAE-Agent-Hub998—~745Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k13 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 13 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed

More from Cai-aa/CAE-Agent-Hub

All 57 skills in this repo
  • Ansys Structural Workbench

    Cai-aa/CAE-Agent-Hub

    Operate or inspect live ANSYS Workbench Mechanical structural simulations through the configured MCP, including model setup, materials, connections, loads, mesh, solve, convergence, validation, and…

    998 GitHub stars~2.2k tokensUpdated 7 days ago
    Auto-check passed
  • Cylinder O Grid

    Cai-aa/CAE-Agent-Hub

    Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models.

    998 GitHub stars~1.6k tokensUpdated 7 days ago
    Auto-check passed
  • Comsol Motor Nvh Evidence

    Cai-aa/CAE-Agent-Hub

    Evidence-first COMSOL Java API and batch workflow for permanent-magnet motor NVH.

    998 GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed
  • Aedt Evidence Electromagnetics

    Cai-aa/CAE-Agent-Hub

    Evidence-first Ansys Electronics Desktop and PyAEDT automation for Maxwell, HFSS, Q3D, Icepak, and related electromagnetic workflows.

    998 GitHub stars~591 tokensUpdated 7 days ago
    Auto-check passed
  • Evidence-first Ansys Mechanical structural automation through Workbench RunWB2 journals, Mechanical Scripting/ACT ExtAPI, or PyMechanical gRPC.

    998 GitHub stars~554 tokensUpdated 7 days ago
    Auto-check passed
  • Run Fluent Autoclave

    Cai-aa/CAE-Agent-Hub

    Run, diagnose, reproduce, and validate ANSYS Fluent CFD simulations of forced-convection autoclaves using Fluent MCP or PyFluent.

    998 GitHub stars~984 tokensUpdated 7 days ago
    Auto-check passed

Works with

Questions about Socket Bridge

What does Socket Bridge do?

Connect to Abaqus CAE via socket bridge for curing simulation. Socket Bridge is an agent skill from Cai-aa/CAE-Agent-Hub. Connect to Abaqus CAE via socket bridge for curing simulation.

When should I use Socket Bridge?

Socket Bridge fits situations like: needs to use socket bridge; connect to Abaqus; execute Python in Abaqus kernel.

How do I install Socket Bridge in Claude Code?

Run `npx skills add Cai-aa/CAE-Agent-Hub --skill socket-bridge -a claude-code`. Or copy the skill folder (Skill/abaqus/composite-curing-simulation/execution/socket-bridge in Cai-aa/CAE-Agent-Hub) into .claude/skills/socket-bridge in your project. Claude Code loads it when a task matches its description.

How do I install Socket Bridge in Codex?

Run `npx skills add Cai-aa/CAE-Agent-Hub --skill socket-bridge -a codex`. Or copy the skill folder (Skill/abaqus/composite-curing-simulation/execution/socket-bridge in Cai-aa/CAE-Agent-Hub) into .agents/skills/socket-bridge in your project. Codex loads it when a task matches its description.

Can I use Socket Bridge 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 Cai-aa/CAE-Agent-Hub --skill socket-bridge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/socket-bridge, .gemini/skills/socket-bridge, .github/skills/socket-bridge and .opencode/skills/socket-bridge in your project.

What does Socket Bridge need to run?

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

Does Socket Bridge 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 Socket Bridge 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 Socket Bridge use?

Socket Bridge 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 Socket Bridge use?

About 745 tokens (SKILL.md is roughly 3k 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 Socket Bridge?

Skills that share tags, products or a category with Socket Bridge: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Socket Bridge?

Cai-aa (a GitHub user) maintains it in Cai-aa/CAE-Agent-Hub, which has 998 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on September 30, 2026.

Source: Cai-aa/CAE-Agent-Hub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.