lcp_tool_creation SKILL.md skillB
lcp_tool_creation from parisneo/lollms_client is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add parisneo/lollms_client/lcp_tool_creation@git:20261012.529309ePins git:20261012.529309e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- parisneo/lollms_client
- Path
skills/lcp_tool_creation/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261012.529309e, committed Oct 12, 2026
- Size
- 12,127 bytes
- Repository stars
- 13
- License
- Apache-2.0
Step-by-step guide to writing LCP tools: schema-driven docstrings, return contracts, requesting privileges via the confirmation handler, and asking the user for keys, text, or choices with the user-interaction protocol. Includes a complete worked use case.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Building LCP Tools — A Practical Creation Guide
This skill teaches you **how to write LCP tools**, not how the engine works. For the binding internals (discovery, AST schema generation, mounting APIs), see the companion skill `lcp_tool_development`.
An LCP tool is a plain Python function named `tool_*` in a `.py` file placed in a tools folder. That's it. No classes, no registration calls, no YAML — the function name, type annotations, defaults, and docstring *are* the tool.
---
## 1. Your First Tool in 60 Seconds
Create `my_tools/greeting.py`:
```python
from typing import Dict
def tool_greet(name: str, excitement_level: int = 1) -> Dict:
"""
Greets a person with an adjustable level of enthusiasm.
Args:
name (str): The name of the person to greet.
excitement_level (int): Number of exclamation marks to add (1-5).
"""
level = max(1, min(5, int(excitement_level)))
return {"success": True, "output": f"Hello, {name}{'!' * level}"}
```
---
## 2. The Docstring IS the Schema
The engine reads your source with `ast` — there is no config file. Three rules:
…Read the whole file at its exact version.
How to install
mdr add parisneo/lollms_client/lcp_tool_creation@sha256:8767752a57d9a92aThe line at the top of this page pins the label git:20261012.529309e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mpw47ghmkpm7yv5e)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 12, 2026.
Audit of the latest version
- fail: Frontmatter declares a name
- pass: Frontmatter block present
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12127 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
parisneo/lollms_client · 13 stars · license Apache-2.0 · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mpw47ghmkpm7yv5e GET https://markdownregistry.com/api/v1/resolve?ref=parisneo/lollms_client/lcp_tool_creation GET https://markdownregistry.com/api/v1/blob/8767752a57d9a92affcb4b767c3dcfafed16d2b21e64d873c8dac9bd5ee66439
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.