new-agent

Scaffold Hedge Fund Agent code, tests, and LangGraph workflow integration.

2|2|Updated Feb 12, 2025
One-click install
npx skills add https://github.com/kimrejstrom/alpacalyzer-algo-trader --skill new-agent-kimrejstrom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-agent
Source: https://github.com/kimrejstrom/alpacalyzer-algo-trader/tree/main/.claude/skills/new-agent
Command: npx skills add https://github.com/kimrejstrom/alpacalyzer-algo-trader --skill new-agent-kimrejstrom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured approach to creating a new hedge fund agent by generating the necessary code scaffolding, tests, and workflow integration, reducing boilerplate time.

Core Features & Use Cases

  • Agent scaffolding: Create agent file at src/alpacalyzer/agents/{name}_agent.py
  • Tests: Generate tests at tests/test_{name}_agent.py
  • Workflow integration: Wire the new agent into the LangGraph hedge fund workflow
  • Example: Quickly prototype an agent modeled after a specific investment philosophy (e.g., value investing, growth focus)

Quick Start

Use this skill with a specific agent name (lowercase with underscores, e.g., 'ray_dalio'). The skill will scaffold:

  • src/alpacalyzer/agents/<agent>_agent.py
  • tests/test_<agent>_agent.py
  • updates to the hedge fund workflow to include the new agent node

Frequently Asked Questions about new-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new hedge fund agent with GPT-4 analysis?

To scaffold a hedge fund agent, generate the Python file at src/alpacalyzer/agents/{name}_agent.py using a template-based implementation that leverages GPT-4 for analysis, along with corresponding unit tests and documentation scaffolding.

How do I integrate a new agent into a LangGraph hedge fund workflow?

Integrating a new LangGraph agent requires wiring the newly scaffolded agent file into the existing hedge fund workflow structure, ensuring it functions correctly as a new node within the automated trading pipeline.

Can I automatically generate unit tests for a new LangGraph trading agent?

Yes, you can automatically generate unit tests for a LangGraph trading agent by creating a dedicated test file at tests/test_{name}_agent.py, which provides the necessary test scaffolding alongside the agent implementation.

What do I need to create a custom investment philosophy agent for hedge fund analysis?

You need to provide a specific agent name formatted in lowercase with underscores, such as 'ray_dalio', to trigger the scaffolding of the agent file, unit tests, and workflow integration for GPT-4 analysis.

Are there limitations when adding a new agent node to an existing LangGraph workflow?

When adding a new agent node, you must strictly adhere to the enforced template-based implementation under the src/alpacalyzer/agents/ directory to ensure the GPT-4 analysis agent integrates properly without breaking the existing hedge fund workflow.