# Gestiolex Corpus

> >

- **Type:** Skill
- **Install:** `agentstack add skill-avvocati-e-mac-skill-legali-gestiolex-corpus`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [avvocati-e-mac](https://agentstack.voostack.com/s/avvocati-e-mac)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [avvocati-e-mac](https://github.com/avvocati-e-mac)
- **Source:** https://github.com/avvocati-e-mac/skill-legali/tree/main/Gestiolex Corpus/gestiolex-corpus

## Install

```sh
agentstack add skill-avvocati-e-mac-skill-legali-gestiolex-corpus
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# GestioLex Corpus

## What this MCP is

- GestioLex Corpus is a remote MCP server developed and provided by GestioLex at `https://corpus.gestiolex.it/mcp`.
- It gives the assistant access to Italian legal research tools for code articles, statutory lookup, and jurisprudential massime.
- This repository ships only the skill instructions; it does not include or run the GestioLex Corpus MCP server.

## Runtime compatibility

- In Claude Code, Claude Desktop, or Claude for Work/Cowork, use the available MCP tools exposed by the configured `gestiolex_corpus` server.
- In Codex or OpenAI environments, use the available `gestiolex_corpus` MCP tools with the same routing rules.
- If the runtime does not expose the required MCP tools, say that GestioLex Corpus is not available in the current environment and ask whether to use another documented source or workflow.
- Do not invent equivalent tool results from memory.

## Quick routing

- Use `leggi_articolo` when the user already gives both article and code.
- Use `cerca_norma` when the user needs a statutory basis but does not know the exact citation.
- Use `cerca_giurisprudenza` when the user asks for orientamenti, precedenti, massime, principi di diritto, or case-law support.
- Treat bare patterns like `111 c.c.`, `360 c.p.c.`, `24 Cost.`, `3 codice del consumo`, or `24 Carta costituzionale` as exact article requests when the user asks to read, retrieve, or quote the text.
- Resolve longer code abbreviations before shorter ones: `c.p.p.` before `c.p.`, and `c.p.c.` before `c.p.` or `c.c.`.

## Operating rules

- Prefer one tool call first, not parallel search by default.
- Keep the first query short, technical, and low-ambiguity.
- Use `k=1` for a single precise hook, `k=3` for normal legal research, `k=5` only for panoramiche or contrastive orientation.
- Let narrow markers override broad-looking words: `solo`, `un solo`, `molto mirate`, `piu vicino`, `riferimento preciso`, and `gancio piu utile` mean `k=1`.
- If the first result set is off-topic, reformulate once with fewer words and stronger legal nouns.
- If the second attempt is still weak, say so explicitly and avoid overstating confidence.

## Query construction

- Reduce narrative prompts to `istituto + problema`.
- For smaller or less reliable models, extract the legal topic after `su`, `di`, `in materia di`, or `relativo a`, then remove procedural filler.
- Preserve article numbers only when they disambiguate the search.
- For `cerca_giurisprudenza`, avoid mixing too many facts and too many provisions in one query.
- For `cerca_norma`, prefer legal nouns over full natural-language questions.
- If the prompt says `disciplina`, `norma`, `base normativa`, or `articolo`, prefer `cerca_norma` even if it also uses a generic word like `orientamento`.
- If the query matches a high-confidence known anchor in the reference file, use `leggi_articolo` directly.

## Response style

- Answer the legal point first.
- Then cite the article or the massima source briefly.
- Flag partial relevance inline when the returned result is useful but not exact.
- Avoid long quotations unless the exact wording is the point of the request.

Read [references/query-patterns.md](references/query-patterns.md) only when you need normalization rules, examples, or red-team failure handling.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [avvocati-e-mac](https://github.com/avvocati-e-mac)
- **Source:** [avvocati-e-mac/skill-legali](https://github.com/avvocati-e-mac/skill-legali)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-avvocati-e-mac-skill-legali-gestiolex-corpus
- Seller: https://agentstack.voostack.com/s/avvocati-e-mac
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
