decision
यह क्या करती है
यह स्किल Semantica नॉलेज ग्राफ़ में दर्ज निर्णय का पूरा जीवन संभालती है, जिसमें उसका तर्क, नतीजा और कोई अपवाद शामिल है। यह उन टीमों के लिए है जिन्हें यह साफ़ रिकॉर्ड चाहिए कि चुनाव क्यों किए गए।
कब इस्तेमाल करें
- ✓जब आप किसी निर्णय को उसके कारणों, नतीजे और भरोसे के स्तर के साथ दर्ज करना चाहते हैं।
- ✓जब आपको किसी नए मामले के लिए मिसाल बनने वाले पिछले निर्णय ढूँढने हों।
- ✓जब आप दर्ज किए गए निर्णय तक पहुँचने के कारण की व्याख्या चाहते हैं।
Skill का लिंक
https://github.com/semantica-agi/semantica/blob/main/plugins/skills/decision/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप नए वेंडर को मंज़ूरी देने का हमारा निर्णय, कारण और हमारे भरोसे के स्तर के साथ दर्ज कर सकते हैं, और मिलते-जुलते पिछले निर्णय ढूँढ सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर निर्णय को उसकी श्रेणी, स्थिति, तर्क, नतीजे और भरोसे के स्कोर के साथ सहेजता है। फिर वह सादे भाषा में पिछले निर्णय खोज सकता है, उनके बीच के संबंध देख सकता है, और बता सकता है कि कोई निर्णय कैसे हुआ।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
/semantica:decision
Full decision lifecycle management. Usage: /semantica:decision <sub-command> [args]
record <category> "<scenario>" "<reasoning>" <outcome> <confidence>
Record a decision with full context.
from semantica.context import AgentContext
ctx = AgentContext(decision_tracking=True)
decision_id = ctx.record_decision(
category=category, # "loan_approval", "deployment", "hiring"
scenario=scenario, # natural-language situation description
reasoning=reasoning, # why this decision was made
outcome=outcome, # "approved", "rejected", "deferred"
confidence=float(confidence),
entities=entities or [],
decision_maker="ai_agent",
valid_from=valid_from, # optional ISO date string
valid_until=valid_until,
)
Output: Decision <decision_id> recorded | <category> | <outcome> (conf: 0.95)
query "<question>" [--hops N] [--hybrid]
Query decisions using natural language with multi-hop graph traversal.
from semantica.context import AgentContext
ctx = AgentContext(decision_tracking=True, advanced_analytics=True)
results = ctx.query_decisions(
query=question,
max_hops=int(hops) if hops else 3,
include_context=True,
use_hybrid_search="--hybrid" in args,
)
For structured lookups use DecisionQuery:
from semantica.context.decision_query import DecisionQuery
dq = DecisionQuery(graph_store=ctx.graph_store)
# dq.find_by_category(category, limit=100)
# dq.find_by_entity(entity_id, limit=100)
# dq.find_by_time_range(start, end, limit=100)
# dq.multi_hop_reasoning(start_entity, query_context, max_hops=3)
# dq.trace_decision_path(decision_id, relationship_types)
# dq.analyze_decision_influence(decision_id, max_depth=3)
Return: | ID | Category | Scenario | Outcome | Confidence | Timestamp |
precedents "<scenario>" [--category <cat>] [--advanced] [--hops N] [--as-of <date>]
Find similar past decisions using hybrid semantic + structural + vector search.
from semantica.context import AgentContext
ctx = AgentContext(decision_tracking=True, kg_algorithms=True, vector_store_features=True)
if "--advanced" in args:
precedents = ctx.find_precedents_advanced(
scenario=scenario, category=category, limit=10,
use_kg_features=True,
similarity_weights={"semantic": 0.5, "structural": 0.3, "vector": 0.2},
)
else:
precedents = ctx.find_precedents(
scenario=scenario, category=category, limit=10,
use_hybrid_search=True,
max_hops=int(hops) if hops else 3,
include_context=True,
include_superseded=False,
as_of=as_of_date or None, # temporal filter: only precedents that existed as_of this date
)
Return ranked: | Rank | ID | Scenario | Outcome | Confidence | Similarity | Date |
influence <decision_id> [--depth N]
Analyze how a decision influences others across the graph.
from semantica.context import AgentContext
ctx = AgentContext(decision_tracking=True, advanced_analytics=True, kg_algorithms=True)
influence = ctx.analyze_decision_influence(decision_id, max_depth=int(depth) if depth else 3)
predictions = ctx.predict_decision_relationships(decision_id, top_k=5)
Output: Influence score + influenced decisions table + predicted new relationships.
explain <decision_id>
Full explainability trace — reasoning steps, causal antecedents, policy compliance.
from semantica.context import AgentContext, ContextGraph
ctx = AgentContext(decision_tracking=True)
explainability = ctx.trace_decision_explainability(decision_id)
graph = ContextGraph(advanced_analytics=True)
chain = graph.trace_decision_chain(decision_id, max_steps=5)
causality = graph.trace_decision_causality(decision_id, max_depth=5)
Output: Reasoning steps, causal antecedents, evidence items, policy compliance status.
insights
Comprehensive analytics across all tracked decisions.
from semantica.context import ContextGraph, AgentContext
ctx = AgentContext(decision_tracking=True, advanced_analytics=True)
graph = ContextGraph(advanced_analytics=True)
insights = graph.get_decision_insights()
summary = graph.get_decision_summary()
context_insights = ctx.get_context_insights()
Output: Total count, category breakdown, outcome distribution, avg confidence, top influential.
list [--category <cat>] [--entity <id>] [--from <date>] [--to <date>]
``
अक्सर पूछे जाने वाले सवाल
दर्ज निर्णय में क्या विवरण होते हैं?
श्रेणी, स्थिति, तर्क, नतीजा, भरोसे का स्कोर और शामिल इकाइयाँ।
क्या मैं पिछले निर्णय रोज़मर्रा की भाषा में खोज सकता हूँ?
हाँ। सवाल रोज़मर्रा के शब्दों में पूछा जा सकता है, और स्किल संबंधित निर्णयों तक पहुँचती है।
क्या मैं कोई अपवाद दर्ज कर सकता हूँ?
हाँ। किसी निर्णय के अपवाद भी दर्ज किए जा सकते हैं।
जानकारी
लेखक का मूल विवरण
Full decision lifecycle in Semantica — record, query, find precedents (hybrid/advanced), analyze influence, explain, insights dashboard, list, and record exceptions. Uses AgentContext, ContextGraph, DecisionQuery, CausalChainAnalyzer, DecisionRecorder.
repo: semantica-agi/semantica
लोकप्रियता
- GitHub स्टार
- 14k
- रैंकिंग में स्थान
- #11144
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
semantica
14kयह आपके एजेंट को नॉलेज ग्राफ़ का पूरा टूलकिट देती है, जिसमें निष्कर्षण, तर्क, प्रोवेनेंस, ऑन्टोलॉजी, नीतियाँ और एक्सपोर्ट शामिल हैं।
causal
14kयह आपके एजेंट को नॉलेज ग्राफ़ में कारण और प्रभाव के संबंध खोजने में मदद करती है, जिसमें कारण-श्रृंखला और 'अगर ऐसा होता' वाले सवाल शामिल हैं।
change
14kयह आपके एजेंट को दिखाती है कि नॉलेज ग्राफ़ पहले किसी तारीख पर कैसा था, और दो तारीखों या दो ऑन्टोलॉजी संस्करणों के बीच क्या बदला।
deduplicate
14kयह आपके एजेंट को नॉलेज ग्राफ़ में डुप्लिकेट इकाइयाँ, समूह और संबंध खोजने में मदद करती है, और मर्ज करने के लिए कौन-सी प्रतियाँ रखें यह सुझाती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।