소스 정보
- 저장소
- jeancsil/agntrick
- 최근 소스 활동
- 2026년 4월 7일 13:34
- 감지된 SKILL.md 언어
- 영어
- 스타
- 6
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/jeancsil/agntrick --skill agntrick-add-tool명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | agntrick-add-tool |
| description | Scaffold a new agntrick tool with tool.py, test file, and __init__.py export |
| disable-model-invocation | true |
Scaffold a new agntrick tool with all required files.
Ask the user for:
web_scraper)Create src/agntrick/tools/{name}.py using this template:
from typing import Any
from agntrick.interfaces.base import Tool
class {ClassName}Tool(Tool):
"""Tool description with Google-style docstring."""
@property
def name(self) -> str:
return "{tool_name}"
@property
def description(self) -> str:
return "Tool description for LLM consumption."
def invoke(self, input_str: str) -> Any:
"""Execute tool logic.
Args:
input_str: The input string from the LLM.
Returns:
Result string, or "Error: ..." on failure.
"""
try:
# TODO: implement tool logic
result = input_str
return str(result)
except Exception as e:
return f"Error: {e}"
Where {ClassName} is the name converted to PascalCase (e.g. web_scraper -> WebScraper).
Add the export to src/agntrick/tools/__init__.py:
from .{name} import {ClassName}Tool__all__ list: "{ClassName}Tool"Create tests/test_{name}.py with basic tests:
"""Tests for the {name} tool."""
from agntrick.tools.{name} import {ClassName}Tool
def test_tool_import():
"""Test that the tool can be imported."""
assert {ClassName}Tool is not None
def test_tool_name():
"""Test that the tool has the correct name."""
tool = {ClassName}Tool()
assert tool.name == "{tool_name}"
def test_tool_invoke_returns_string():
"""Test that invoke returns a string."""
tool = {ClassName}Tool()
result = tool.invoke("test input")
assert isinstance(result, str)
make check && make test to verify everything works.Tool ABC in interfaces/base.pyname, description properties and invoke() methodtools/__init__.py is requiredExisting tools:
CalculatorTool (example.py) — safe math evaluation via ASTWeatherTool (example.py) — mock weather toolCodeSearcher (code_searcher.py) — ripgrep wrapperGitCommandTool (git_command.py) — git operationsYouTubeTranscriptTool (youtube_transcript.py) — transcript fetcherSyntaxValidator (syntax_validator.py) — tree-sitter validationAgentInvocationTool (agent_invocation.py) — invoke other agents