Skills Runtime for Forge — intent-based dispatch, SKILL.md loading, and sub-run execution.
Project description
forge-skills
Skills Runtime for the Forge agent harness.
Provides intent-based skill dispatch, SKILL.md loading, and sub-run execution with full EventBus integration.
Installation
pip install forge-skills
# With intent-based dispatch (sentence-transformers):
pip install forge-skills[intent]
Quick start
from forge_skills import SkillDef, SkillRuntime
rt = SkillRuntime()
skill = SkillDef(
name="greet",
description="Greet a user by name",
examples=["say hello to", "greet", "hi to"],
parameters=[{"name": "user", "type": "string", "description": "User name"}],
)
async def greet_handler(args: dict) -> str:
return f"Hello, {args['user']}!"
rt.register(skill, handler=greet_handler)
result = await rt.invoke("greet", arguments={"user": "Alice"})
print(result.output) # Hello, Alice!
SKILL.md format
---
name: summarize
description: Summarize a document
examples:
- "summarize this"
- "give me the key points"
parameters:
- name: text
type: string
description: Text to summarize
required: true
timeout_seconds: 30.0
tags:
- nlp
---
Summarize the following text concisely:
{text}
Technical debt
See DEVLOG.md for DT entries introduced in Phase 3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
forge_skills-0.2.0.tar.gz
(14.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forge_skills-0.2.0.tar.gz.
File metadata
- Download URL: forge_skills-0.2.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06fc6e036529c52d99b1542022e989697ecd77488a6f8e369055b36f167fce3
|
|
| MD5 |
54f604d2ccfb80ee7268023ed5ad55cf
|
|
| BLAKE2b-256 |
d64d12ea0563fa4b664c5f43a6d84c7177cecc372c15906aa7c4782bced8a028
|
File details
Details for the file forge_skills-0.2.0-py3-none-any.whl.
File metadata
- Download URL: forge_skills-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
890d8be4c5bed4e401d37d7ac9918d397e8dfcafb7fd7da78d0fa138c4f7dd62
|
|
| MD5 |
547a5b9f732ee012d76e8c0c11375eb8
|
|
| BLAKE2b-256 |
d2d450aa5fd35771c7489ce3c1e003c97cdb5523622596cb0a968dc8e65b2fca
|