en un clic
network-computation
社会网络计算分析工具,提供网络构建、中心性测量、社区检测、网络可视化等完整的网络分析支持
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
社会网络计算分析工具,提供网络构建、中心性测量、社区检测、网络可视化等完整的网络分析支持
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
行动者网络理论专家分析技能,整合参与者识别、网络分析和转译过程追踪功能,提供全面的ANT分析框架
当用户需要执行行动者网络理论分析,包括参与者识别、关系网络构建、转译过程追踪和网络动态分析时使用此技能
当用户需要检验扎根理论饱和度,包括新概念识别、范畴完善度、关系充分性和理论完整性评估时使用此技能
执行布迪厄场域分析,包括场域边界识别、资本分布分析、自主性评估和习性模式分析。当需要分析社会场域的结构、权力关系和文化资本时使用此技能。
扎根理论专家分析技能,整合开放编码、轴心编码、选择式编码、备忘录撰写和理论饱和度检验功能,提供完整的扎根理论分析框架
当用户需要执行扎根理论的轴心编码,包括范畴识别、属性维度分析、关系建立和Paradigm模型构建时使用此技能
| name | network-computation |
| description | 社会网络计算分析工具,提供网络构建、中心性测量、社区检测、网络可视化等完整的网络分析支持 |
| version | 1.0.0 |
| author | socienceAI.com |
| tags | ["network-analysis","social-networks","centrality","community-detection","visualization"] |
社会网络计算分析技能为社会科学研究提供全面的网络分析支持,包括网络构建、中心性测量、社区检测、网络可视化等,帮助研究者深入理解社会关系结构和动态。
Use this skill when the user requests:
When a user requests network analysis:
当需要执行网络计算分析时,调用 calculate_centrality.py 脚本,该脚本整合了网络分析的主要功能。
{
"network_data": {
"nodes": [
{
"id": "节点唯一ID",
"label": "节点标签",
"attributes": {
"type": "节点类型",
"size": "节点大小",
"group": "节点分组"
}
}
],
"edges": [
{
"source": "源节点ID",
"target": "目标节点ID",
"weight": "边权重",
"type": "边类型",
"attributes": {
"strength": "关系强度",
"direction": "方向性"
}
}
]
},
"analysis_parameters": {
"network_type": "directed/undirected",
"is_weighted": true,
"centrality_metrics": ["degree", "betweenness", "closeness", "eigenvector"],
"community_method": "louvain/modularity/greedy",
"visualization_type": "static/interactive",
"node_attributes": ["type", "size", "group"],
"edge_attributes": ["weight", "strength", "direction"]
},
"analysis_context": "分析背景和目的",
"research_questions": ["研究问题列表"]
}
{
"summary": {
"network_size": "网络规模(节点数)",
"network_density": "网络密度",
"connected_components": "连通分量数",
"analysis_time": "分析耗时"
},
"details": {
"network_metrics": {
"density": "网络密度",
"clustering_coefficient": "聚类系数",
"average_path_length": "平均路径长度",
"diameter": "网络直径",
"components": {
"number_of_components": "连通分量数",
"largest_component_size": "最大连通分量规模"
}
},
"centrality_analysis": {
"degree_centrality": {
"node_id": "中心度值"
},
"betweenness_centrality": {
"node_id": "中心度值"
},
"closeness_centrality": {
"node_id": "中心度值"
},
"eigenvector_centrality": {
"node_id": "中心度值"
},
"top_nodes_by_centrality": {
"degree": ["按度中心度排序的节点"],
"betweenness": ["按中介中心度排序的节点"],
"closeness": ["按接近中心度排序的节点"],
"eigenvector": ["按特征向量中心度排序的节点"]
}
},
"community_detection": {
"number_of_communities": "社区数量",
"communities": [
{
"id": "社区ID",
"size": "社区规模",
"nodes": ["节点列表"],
"modularity": "模块度值",
"description": "社区描述"
}
],
"node_to_community": {
"node_id": "社区ID"
}
},
"structural_analysis": {
"structural_holes": ["结构洞分析结果"],
"bridges": ["桥接节点"],
"brokerage_roles": ["中介角色"]
}
},
"visualization": {
"static_image": "静态图像链接",
"interactive_graph": "交互图链接",
"layout": "布局类型",
"color_scheme": "配色方案"
},
"interpretation": {
"key_findings": ["关键发现"],
"social_interpretation": "社会学解释",
"research_insights": ["研究洞察"]
}
},
"metadata": {
"timestamp": "时间戳",
"version": "版本号",
"skill": "network-computation",
"analysis_parameters": "分析参数"
}
}
network_format: Input format (edgelist, adjacency matrix, JSON, etc.)directed: Whether the network is directed (default: false)weighted: Whether the network is weighted (default: true)centrality_metrics: List of centrality measures to computecommunity_method: Community detection algorithm to usevisualization_type: Type of visualization (static, interactive)node_attributes: Additional node properties to visualizeedge_attributes: Additional edge properties to visualizeUser: "Analyze this social network and identify the most important actors" Response: Calculate all centrality measures, identify key nodes, interpret in social context.
User: "Find communities within this organization's communication network" Response: Apply community detection algorithms, validate structure, interpret meaning.
User: "Create a visualization of this collaboration network" Response: Generate network diagram with appropriate layout, highlight important nodes.
skills/network-computation/scripts/calculate_centrality.py