Skip to content
Back to skills

Pipelines And Components

ASecurity

"Build, connect, run, serialize, debug, and extend Haystack

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentspythonapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill pipelines-and-components --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pipelines And Components?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pipelines And Components
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-pipelines-and-components/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-pipelines-and-components)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pipelines-and-components
description: "Build, connect, run, serialize, debug, and extend Haystack
  Pipeline, AsyncPipeline, SuperComponent, and custom @component workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Pipelines and Components

Use this sub-skill when the task is about Haystack orchestration rather than a specific model, retriever, agent, or repository-maintenance command.

## Route Here

- Create or modify `Pipeline` and `AsyncPipeline` graphs with `add_component()`, `connect()`, `run()`, `run_async()`, and `run_async_generator()`.
- Write custom `@component` classes, define input and output sockets, validate socket names/types, or debug component contract errors.
- Configure loop safety with `max_runs_per_component`, inspect intermediate outputs with `include_outputs_from`, and diagnose blocked or over-running graphs.
- Serialize or load pipelines with `to_dict()`, `from_dict()`, `dumps()`, `loads()`, `dump()`, and `load()`.
- Use pipeline breakpoints, snapshots, drawing, or `SuperComponent` wrappers.

## Reroute

- Model/provider components, credentials, generation-specific parameters, and embedding/generator selection: `../generation-and-model-components/SKILL.md`.
- RAG retrieval strategy, document stores, rankers, and retriever wiring choices: `../retrieval-and-rag/SKILL.md`.
- Agent loops, tool invocation, and human-in-the-loop workflows: route to the `agents-tools-and-hitl` sibling when present.
- Hatch, tests, release notes, or maintainer commands for this repository: route to the `repo-development` sibling when present.

## Core References

- Start with `references/api-reference.md` for concrete constructor signatures, component contracts, connection rules, and serialization APIs.
- Use `references/workflows.md` for build/debug/async/loop/super-component recipes.
- Use `references/troubleshooting.md` when imports, optional integrations, sockets, serialization, snapshots, or runtime execution fail.
- Run `scripts/pipeline_smoke_check.py` in any environment with `haystack-ai` installed to verify the public APIs this sub-skill relies on.

## Fast Pattern

```python
from haystack import Pipeline, component

@component
class Uppercase:
    @component.output_types(text=str)
    def run(self, text: str) -> dict[str, str]:
        return {"text": text.upper()}

pipe = Pipeline(max_runs_per_component=5)
pipe.add_component("upper", Uppercase())
result = pipe.run({"upper": {"text": "haystack"}})
assert result["upper"]["text"] == "HAYSTACK"
```

Files in this skill

  • SKILL.md2.5 KB
  • references/api-reference.md9.5 KB
  • references/troubleshooting.md8.3 KB
  • references/workflows.md8.5 KB
  • scripts/pipeline_smoke_check.py3.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.