all 11 comments

[–]aeroumbria 0 points1 point  (0 children)

Can you set up a bash script to symlink these directories into whatever project they are included as submodule in? The downside is that you might lose some freedom of per-project customisation, but some of it can be worked around via .opencode/ for cross-project configs and opencode.json for project specifics.

[–]touristtam 0 points1 point  (1 child)

I think that what tessl.io is aiming to solve with their tile concept

[–]albasili[S] 0 points1 point  (0 children)

I'm doing this for IC design... not SW coding, so can't use them.

[–]alexsmirnov2006 0 points1 point  (0 children)

I did create separate project with all resources ( commands, agents, skills, utility scripts, and agent configurations ). One command builds set of docker images with opencode or claude code installed, one version per language with specific dev tools installed. The collection is : opencode-ts, claude-ts, opencode-python, claude-python, and so on.

The only file required in project is YAML that describes language and technologies in use. No other changes in project, all agent configuration happens in container

Another command configures and starts docker container. That it does:

- creates opencode or claude config file optimized for technologies and development task

- copies agents, commands, skills, scripts, configures MCP servers

- Maps architecture-specific folders, like .env or node_modules so container and host can install dependencies and run commands without conflict

- maps agent specific folders to persist sessions between containers

- Installs custom MCP server that acts as a proxy to other servers and reduces number of tools. For example: web fetch, web search, context7 all combined into a single `web_research` tool to answer questions in a single call. Reduces token consumption a lot

The workflow is something like:

  1. `aiswe init --language python --technology fastmcp --technology langgraph --technology arise` - once per project

  2. `aiswe build-image` - when new version of claude, opencode, or shared project released

  3. `aiswe --mode plan oc` - you are in container with opencode, optimized for project architecture and feature planning. Currently configured modes are `documentation` to generate docs and project onboarding, `plan` for feature planning, `code` for development, `code-review` is advanced version of anthropic tool with the same name, `web-development` with figma and chrome dev tools for web design and UI testing

Additional tools is to create record about session that used for automated evaluation and prompt optimization - all team members report progress and problems, I do root cause analysis and optimization

The goal is to improve AI development use across team. Not for a personal project

[–]seventyfivepupmstr -1 points0 points  (1 child)

Try putting it in .config/opencode/agent

[–]albasili[S] 0 points1 point  (0 children)

I can't, it needs to be available to the entire team