スキル一覧に戻る
aech-ai

precedent-finder

by aech-ai

Legal document workflows CLI for Agent Aech - documents, clauses, research, dataroom, sigpage

0🍴 0📅 2026年1月13日
GitHubで見るManusで実行

SKILL.md


name: precedent-finder description: Find precedent clauses from past deals. Use when user asks to find similar clauses, search for precedent, or look up how a provision was worded in previous deals. allowed-tools: Read, Bash, Grep, Glob

Precedent Finder

Search the clause database for similar provisions from past deals. Returns matching clauses with source attribution.

When to Use

  • User asks "find precedent for this indemnification clause"
  • User wants to see how a provision was worded in previous deals
  • User needs comparable language from similar transactions

Available Scripts

scripts/search_precedent.py

Search for similar clauses by text or type.

python scripts/search_precedent.py "limitation of liability" --top-k 5
python scripts/search_precedent.py --clause-type indemnification --top-k 10
python scripts/search_precedent.py --file clause.txt --top-k 5

scripts/show_context.py

Get full context for a matched clause (surrounding sections).

python scripts/show_context.py --clause-id "deal123_section5.2" --context-lines 20

Workflow

  1. Extract clause text: If user provides a document, extract the relevant clause
  2. Search: Run search_precedent.py with the clause text or type
  3. Present results: Show matches with deal name, date, and similarity score
  4. Offer context: Ask if user wants to see full context for any match
  5. Import option: Offer to import selected clause into current document

Example Session

User: Find precedent for this limitation of liability clause:
"The total liability of either party shall not exceed the fees paid in the 12 months..."

Claude:
1. Searching clause database...
   [Runs: python scripts/search_precedent.py "The total liability..." --top-k 5]

2. Found 5 similar clauses:
   | Deal | Date | Similarity | Preview |
   |------|------|------------|---------|
   | Acme Corp Acquisition | 2024-01 | 94% | "Total liability shall not exceed..." |
   | Beta Inc License | 2023-11 | 87% | "Aggregate liability limited to..." |
   ...

3. Would you like to see the full context for any of these?

CLI Dependencies

  • aech-cli-legal clauses search - Semantic clause search
  • aech-cli-legal documents convert - Extract clauses from DOCX

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です