Edit: Accoring to the comment of Asura Path I revise the question.
Let $X$ be a vector field on a Riemannian manifold $(M,g)$. So we have a $1$-form $\beta$ with $\beta(Y)=\langle Y,X\rangle_g$.
We consider the following subcomplex of de Rham complex $\Omega^*(M)$: $$\{\alpha\in \Omega^*(M)\mid d\alpha=\alpha \wedge \beta\}$$
This generates a cohomology. For zero vector field we get the standard de Rham cohomology.
Is this cohomology always a finite dimensional space? Does it depend on the Riemannian structure? Does it contain some dynamical information about the vector field $X$?
Is there an appropriate analogy of this cohomology in algebraic topology or other type of cohomologis? (In the context of algebraic topology, we replace $1$-form $\beta$ with a $1$-cochain and the exterior derivative with coboundary and wedge product with cup product)