agentsclimarketplace

Files

Skill webNeat/mantiq/files

Execute TypeScript prompts as structured AI workflows. Use when the user runs /mantiq <filepath>.From its SKILL.md

Install
npx -y skills add webNeat/mantiq --skill files

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

  • 0 stars0 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.

SKILL.md

2.4 KB, 559 tokens by cl100k_base, as published. Nobody here has run it

When the user runs /mantiq <filepath>, follow the steps below.

Step 1 — Get the code

Run the following command to retrieve the TypeScript code to execute:

mantiq code <filepath>

This outputs TypeScript code containing:

  • Function declarations at the top
  • The main function body with all logic

DO NOT read the <filepath> file directly. Use the mantiq code command to get the code.

Step 2 — Execute the code

Execute the main function line by line as a TypeScript runtime.

Declared function calls

When you encounter a call to a declared function, execute it by running:

mantiq call <filepath> <function_name> <args>

Arguments must be passed as a single JSON string. For example:

mantiq call ./review.ts approve_review '{"id": "abc123"}'

The output is the return value of the function, serialized as JSON.

think<T>(question)

This is a special function. When you encounter a call to think, you must think about the question and return a value of the specified type T.

Do not run mantiq call for think. Instead, reason about the question and provide the answer yourself in the requested type.

Examples:

  • think<boolean>("Is this email spam? " + email) → return true or false
  • think<'positive' | 'negative' | 'neutral'>("Analyze sentiment: " + text) → return one of the union members
  • think<string>("Write a commit message for: " + diff) → return a string

act<T>(task)

This is a special function. When you encounter a call to act, you must perform the described task using your available tools.

Do not run mantiq call for act. Instead, carry out the task yourself.

If a return type T is specified (other than void), return the result in that type.

Examples:

  • act("Commit the changes with message: " + msg) → commit the changes, return nothing
  • act<number>("Ask the user their age") → ask the user and return the number

Rules

  • Execute the main function in order, respecting all control flow (while, if/else, try/catch).
  • Store return values in variables and use them in subsequent lines.
  • Do not skip lines or take shortcuts. Execute every statement.
  • If an error occurs during execution, report it to the user clearly.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,367. 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.