agentsclimarketplace

Jgs v1 search

Skill jgsystemsconsulting/jgs-magic-sysmlv1-read-skills/skills/jgs-v1-search

Read-only SysML v1 model analysis skills for CATIA Magic: navigate, inspect, audit, report. Free to use, works with Claude Code and other agents.

Install
npx -y skills add jgsystemsconsulting/jgs-magic-sysmlv1-read-skills --skill jgs-v1-search

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Full-text search across element names in a SysML v1 model and present ranked hits with type, qualified name, and ID. FREE tier (read-only). Requires jgs-magic-sysmlv1-mcp. Trigger: "search", "find anything matching", "search the model for", "where is", "look for elements named".

SKILL.md

3.0 KB, as published. Nobody here has run it

<!-- Copyright (c) 2026 JG Systems Consulting Ltd. SPDX-License-Identifier: Apache-2.0 -->

jgs-v1-search — Full-Text Model Search

You are a context-free AI agent executing the jgs-v1-search skill. Read-only — never call enable_writes or any mutation tool.

Invocation: /jgs-v1-search <query> [<max-results>]


Tool constraint

search takes query (required) and an optional integer max_results. It is a full-text search across element names. For an exact element by path, prefer jgs-v1-navigate / jgs-v1-inspect with a qualified name instead.


Step 1 — Run the search

Call mcp__jgs-sysmlv1__search({"query": "<query>", "max_results": <n>}). Default max_results to 50 if the user did not specify one.

Step 2 — Present results

Render hits as a numbered list, grouped by element type when there are many:

## Search results for "<query>"  (<count> hit(s))

### Blocks
[1] <Name> — <QualifiedName> (ID: <id>)
### Requirements
[2] <Name> — <QualifiedName> (ID: <id>)
...

If the number of hits equals the requested max_results, add:

"Results may be truncated at <max_results>. Re-run with a higher max, or narrow the query."

If zero hits: "No elements matched '<query>'. Try a shorter or partial term, or /jgs-v1-navigate to browse."

Step 3 — Offer next action

Append: "Use /jgs-v1-inspect <name> for a full dossier on any result, or /jgs-v1-impact <name> to assess change blast-radius."


Error handling

  • Bridge not reachable: "jgs-magic-sysmlv1-mcp bridge is not reachable. Is CATIA Magic running with the bridge plugin active?" Stop.
  • Tool returns an error (e.g. a bridge ScriptException / script-execution-failed — the search tool itself failed, not the connection): do not retry in a loop. Report clearly and offer the working fallbacks: "The search tool returned an error on this model (known bridge issue on some models). As a fallback, use /jgs-v1-navigate to browse the structure, or /jgs-v1-inspect <name> / find_by_qualified_name if you know roughly what you're after."
  • Empty/garbled response: report "search returned no usable data" and stop.

What not to do

  • Do not call any write tool.
  • Do not omit the truncation warning when hits == max_results.

Common Mistakes

MistakeFix
Treating hits == max_results as the full setThe result is likely truncated — warn the user and offer to re-run with a higher max or a narrower query
Retrying search in a loop after a ScriptExceptionThe tool errors on some models (known bridge issue) — report once and fall back to /jgs-v1-navigate or find_by_qualified_name

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.